Idris2/tests/idris2/basic/basic069/DebugInfo.idr
2023-09-07 14:57:22 +01:00

22 lines
264 B
Idris

main : IO ()
main = do
putStrLn "loc: \{__LOC__}"
putStrLn "file: \{__FILE__}"
putStrLn "line: \{__LINE__}"
putStrLn "col: \{__COL__}"
putStrLn
"""
loc further down the file: \{
__LOC__}
"""
putStrLn __FILE__