From 5e2dc4e28b9e0ace82fb53667dfebb7304b4bcbc Mon Sep 17 00:00:00 2001 From: Leonardo de Moura Date: Thu, 9 Jun 2016 14:39:56 -0700 Subject: [PATCH] fix(library/init): add missing file --- library/init/trace.lean | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 library/init/trace.lean diff --git a/library/init/trace.lean b/library/init/trace.lean new file mode 100644 index 0000000000..9519ec16e6 --- /dev/null +++ b/library/init/trace.lean @@ -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 ()