Idris2
Idris2 copied to clipboard
A purely functional programming language with first class types
JS backend: exported function's calling convention inconsistent between definitions of the same type
These two functions are FFI-exported with the exact same type `Int -> PrimIO Int`, so I think it should be a reasonable expectation that their calling convention is the same....
- [x] I have read [CONTRIBUTING.md](https://github.com/idris-lang/Idris2/blob/main/CONTRIBUTING.md). - [x] I have checked that there is no existing PR/issue about my proposal. ## Summary As far as I can tell, `absurd` is...
At present, Idris2 has a number of ways in which the user can compile a given source file (e.g `X.idr`). For example, the user can write a package file, which...
The following program crashes with scheme exception "attempt to apply non-procedure 0": ``` bug : Int -> Bool bug a = let f = \y => case y == a...
# Steps to Reproduce ``` idris2 module Test namespace Foo record R where -- Comment this line and the following Use* doesn't compile data A : Type where B :...
# Summary `Exception: variable LibrariesC-45TextC-45Lexer-any is not bound` ## Reproduction 1. build idris2 from source, with `opts = "--inc chez"` in `idris2.ipkg`. 2. make install once more. 3. build fails:...
I haven't tested it with yaffle (wrong laptop atm) but this is concerning: ```idris %default total boom : Nat === List () -> List () boom = \ eq =>...
- [x] I have read [CONTRIBUTING.md](https://github.com/idris-lang/Idris2/blob/main/CONTRIBUTING.md). - [x] I have checked that there is no existing PR/issue about my proposal. ## Summary  Add source link for each declaration like...
# Steps to Reproduce Tested on commit 6729fa8c8. Code: ```idris data Fin : Nat -> Type where FZ : Fin (S n) FS : Fin n -> Fin (S n)...
Idris2 version (HEAD as of the time of raising the issue): ``` $ idris2 --version Idris 2, version 0.2.1-df4c454f4 ``` # Steps to Reproduce Here is the code: ``` module...