-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Closes #78 --------- Co-authored-by: Paul Cadman <[email protected]>
- Loading branch information
1 parent
50aa583
commit adf58a7
Showing
10 changed files
with
62 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
module Stdlib.Trait.Partial; | ||
|
||
import Stdlib.Data.String.Base open; | ||
import Stdlib.Debug.Fail as Debug; | ||
|
||
trait | ||
type Partial := | ||
mkPartial {fail : {A : Type} -> String -> A}; | ||
|
||
open Partial public; | ||
|
||
runPartial {A} (f : {{Partial}} -> A) : A := | ||
f {{mkPartial Debug.failwith}}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# This file was autogenerated by Juvix version 0.5.2. | ||
# Do not edit this file manually. | ||
|
||
dependencies: | ||
- path: ../ | ||
dependencies: [] | ||
- git: | ||
name: quickcheck | ||
ref: 760e80205ffa5b5c363a2aa56c583bdfd31fe252 | ||
url: https://github.com/anoma/juvix-quickcheck.git | ||
dependencies: | ||
- git: | ||
name: stdlib | ||
ref: 86f9e82c34395f3e0447c58566bc92347603ebd3 | ||
url: https://github.com/anoma/juvix-stdlib | ||
dependencies: [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters