Skip to content

Commit

Permalink
add pragma and comment in Hello example
Browse files Browse the repository at this point in the history
  • Loading branch information
lemastero committed Nov 21, 2023
1 parent 45dd2e1 commit 474889b
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions test/Hello.agda
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
{-# OPTIONS --cubical-compatible --safe #-}

module test.Hello where

-- Type with two inhabitants
data Bool : Set where
true : Bool
false : Bool
false true : Bool

{- Logical connective not - negation -}
not : Bool -> Bool
not true = false
not false = true

0 comments on commit 474889b

Please sign in to comment.