fix(library/init): add missing file

This commit is contained in:
Leonardo de Moura 2016-06-09 14:39:56 -07:00
parent 4cbcb34817
commit 5e2dc4e28b

9
library/init/trace.lean Normal file
View 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 ()