mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-30 15:13:37 +03:00
11 lines
173 B
Idris
11 lines
173 B
Idris
module Debug.Trace
|
|
|
|
import Prelude
|
|
import PrimIO
|
|
|
|
%default total
|
|
|
|
export
|
|
trace : (msg : String) -> (result : a) -> a
|
|
trace x val = unsafePerformIO (do putStrLn x; pure val)
|