stable

idris2-0.7.0-4.fc42

FEDORA-2025-c8e0b3742d created by petersen 10 months ago for Fedora 42

obsolete idris2-lib


Purely functional programming language with first class types

How to install

Updates may require up to 24 hours to propagate to mirrors. If the following command doesn't work, please retry later:

sudo dnf upgrade --refresh --advisory=FEDORA-2025-c8e0b3742d

This update has been submitted for testing by petersen.

10 months ago

This update's test gating status has been changed to 'ignored'.

10 months ago

This update has obsoleted idris2-0.7.0-3.fc42, and has inherited its bugs and notes.

10 months ago

This update has been pushed to testing.

10 months ago
User Icon lenticularis commented & provided feedback 10 months ago
karma

Tested install:

$ rpm -q idris2
idris2-0.7.0-4.fc42.x86_64
$ rpm -q idris2 chez-scheme
idris2-0.7.0-4.fc42.x86_64
chez-scheme-10.1.0-4.fc42.x86_64
$ idris2 --version
Idris 2, version 0.7.0

Simple typechecking appears to work:

$ cat semigroup.idr
record SemigroupOf A where
  constructor MkSemigroupOf
  op : A -> A -> A
  associativity : (a : A) -> (b : A) -> (c : A) -> (op (op a b) c) = (op a (op b c))

-- Borrowed from anotherArka/Idris-Number-Theory
associativePlus : (a : Nat) -> (b : Nat) -> (c : Nat) -> ((a + b) + c = a + (b + c))
associativePlus Z b c = Refl
associativePlus (S k) b c = rewrite (associativePlus k b c) in Refl

natPlus : SemigroupOf Nat
natPlus = MkSemigroupOf (+) associativePlus
$ idris2 --check semigroup.idr 
1/1: Building semigroup (semigroup.idr)

as well as building an executable:

$ cat hello.idr
main : IO Unit
main = putStrLn "Hello from Fedora!"
$ idris2 hello.idr -o hello
$ build/exec/hello
Hello from Fedora!
BZ#2314358 Review Request: idris2 - Purely functional programming language with first class types

This update can be pushed to stable now if the maintainer wishes

10 months ago

This update has been submitted for stable by bodhi.

10 months ago

This update has been pushed to stable.

10 months ago

Please log in to add feedback.

Metadata
Type
enhancement
Karma
1
Signed
Content Type
RPM
Test Gating
Autopush Settings
Unstable by Karma
-3
Stable by Karma
3
Stable by Time
7 days
Dates
submitted
10 months ago
in testing
10 months ago
in stable
10 months ago
approved
10 months ago
BZ#2314358 Review Request: idris2 - Purely functional programming language with first class types
0
1

Automated Test Results