Idris2
Idris2 copied to clipboard
A purely functional programming language with first class types
# Steps to Reproduce This is a shrunk from a real code, so it lacks practicality, but still reveals strange behaviour. Consider the following definitions: ```idris data E = MkE...
# Steps to Reproduce Loading my records library in the repl: https://gist.github.com/kuribas/36291152663166bb1ee4b1eca7d6337f Then printing my testx record using :exec ``` :exec print testx ``` # Expected Behavior It should print...
# Steps to Reproduce Consider two variants of the same function: ```idris f : (n : Nat) -> (Void, Void) -> Nat f 0 (_, _) impossible f 1 (_,...
`Lazy` values can be matched using `Delay`. But when `Lazy` value has unrestricted quantity, matched under `Delay` must have the same quantity. This usually holds, but when a value holding...
# Steps to Reproduce ```idris -- Works Fine : Unit -> Nat Fine = \case () => 0 data Good : Type where AGood : Good Works : Good ->...
# Steps to Reproduce ```idris public export Hmmm : Nat {- -}-} ``` # Expected Behavior Report a parse error on the final `-}` on the final line. ``` --...
UPDATES (not part of proposal text): 1. 2023-02-25 - The license requirement description for third party derivative work was updated based on RFC comments. ---- ## Summary / Motivation A...
# Environment System: Ubuntu 2022 on Win10 WSL idris: Idris 2, version 0.6.0-fd217722b # Steps to Reproduce test.idr ``` record Comp (f,g : Type -> Type) (a : Type) where...
When invoking `idris2 --mkdocs foobar.ipkg`, the current behaviour is for the compiler to dump the documentation in `${builddir}/docs`. The location `${builddir}/docs` is used regardless of the package name. Thus for...
# Description The PR enhances totality checking to see size changes underneath matching constructors, addressing issue #3317. With this change Idris recognizes: - `Just xs` is smaller than `Just (x...