mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-20 18:21:47 +03:00
20 lines
243 B
Idris
20 lines
243 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__}
|
||
|
"""
|