All Projects → ice1000 → arend-io

ice1000 / arend-io

Licence: Apache-2.0 license
A toy IO library for Arend

Programming Languages

java
68154 projects - #9 most used programming language
kotlin
9241 projects

Arend IO

check

An experiment with adding IO and strings in Arend. Works Arend v1.5.0 release.

If you're using Arend 1.4.0 or 1.4.1, please use the v1.0 release.

Build

See GitHub Actions workflow.

Basically, you need to build the subproject under meta directory with ./gradlew classes. After that, you could import this library.

Example

For more examples, see Example.ard.

Given this code:

\func execution => unsafePerformIO
    (readProc "java --version" >>= print)

Typechecking it gives the following message (depends on environment):

[INFO] openjdk 11.0.7 2020-04-14
OpenJDK Runtime Environment JBR-11.0.7.10-944.16-jcef (build 11.0.7+10-b944.16)
OpenJDK 64-Bit Server VM JBR-11.0.7.10-944.16-jcef (build 11.0.7+10-b944.16, mixed mode)
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].