AllStdLib.agda 683 B

1234567891011121314151617181920212223242526272829303132333435
  1. {-# OPTIONS --rewriting --guardedness --sized-types #-}
  2. module AllStdLib where
  3. -- Ensure that the entire standard library is compiled.
  4. import README
  5. open import Data.Unit.Polymorphic using (⊤)
  6. open import Data.String
  7. open import IO using (putStrLn; run)
  8. open import IO.Primitive using (IO; _>>=_)
  9. import DivMod
  10. import HelloWorld
  11. import HelloWorldPrim
  12. import ShowNat
  13. import TrustMe
  14. import Vec
  15. import dimensions
  16. infixr 1 _>>_
  17. _>>_ : ∀ {A B : Set} → IO A → IO B → IO B
  18. m >> m₁ = m >>= λ _ → m₁
  19. main : IO ⊤
  20. main = do
  21. run (putStrLn "Hello World!")
  22. DivMod.main
  23. HelloWorld.main
  24. HelloWorldPrim.main
  25. ShowNat.main
  26. TrustMe.main
  27. Vec.main
  28. dimensions.main