Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions stdlib/bool.jk
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
// FIXME: This should be replaced by the `!` operator once it is implemented
func not(b: bool) -> bool {
if b {
false
} else {
true
}
}
5 changes: 4 additions & 1 deletion stdlib/lib.jk
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
incl pair
incl bool
incl int
incl string

incl pair
incl maybe
incl range
incl iter
Expand Down