Skip to content

Instantly share code, notes, and snippets.

@typeswitch-dev
typeswitch-dev / Test.idr
Last active March 9, 2020 02:13
Minimalistic unit testing framework for Idris.
||| Minimalistic unit testing framework for idris.
module Test
%access public export
%default total
data Test : Type where
Check : (x: Type) -> {auto p: x} -> Test
Forall : (t: Type) -> (t -> Test) -> Test
(>>=) : Test -> (() -> Test) -> Test