fix(library/init): add missing file
This commit is contained in:
parent
4cbcb34817
commit
5e2dc4e28b
1 changed files with 9 additions and 0 deletions
9
library/init/trace.lean
Normal file
9
library/init/trace.lean
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
-- Copyright (c) 2016 Microsoft Corporation. All rights reserved.
|
||||
-- Released under Apache 2.0 license as described in the file LICENSE.
|
||||
-- Author: Leonardo de Moura
|
||||
prelude
|
||||
import init.string
|
||||
|
||||
/- This function has a native implementation that displays the given string in the regular output stream. -/
|
||||
definition trace {A : Type} (s : string) (f : unit → A) : A :=
|
||||
f ()
|
||||
Loading…
Add table
Reference in a new issue