Dependent type example

Run Settings
LanguageIdris
Language Version
Run Command
module Main item : (b : Bool) -> if b then Nat else List Nat item True = 42 item False = [1, 2, 3] main : IO () main = putStrLn $ show $ item False
Editor Settings
Theme
Key bindings
Full width
Lines