Skip to content

Latest commit

 

History

History
25 lines (21 loc) · 504 Bytes

idris.org

File metadata and controls

25 lines (21 loc) · 504 Bytes

Idris Notes

Silly

module Silly

implementation [shit] Show Nat where
  show = const "shit"

Then, to explicitly refer to this shit implementation:

export
example : IO ()
example = putStrLn $ show @{shit} 42
idris --exec 'example' Silly.idr