mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-25 04:33:45 +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)
|