mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-21 02:31:50 +03:00
9 lines
157 B
Idris
9 lines
157 B
Idris
|
module Debug.Trace
|
||
|
|
||
|
import Prelude
|
||
|
import PrimIO
|
||
|
|
||
|
export
|
||
|
trace : (msg : String) -> (result : a) -> a
|
||
|
trace x val = unsafePerformIO (do putStrLn x; pure val)
|