GithubHelp home page GithubHelp logo

asdf-community / asdf-idris Goto Github PK

View Code? Open in Web Editor NEW
3.0 6.0 2.0 20 KB

Idris plugin for the asdf version manager

Home Page: https://github.com/asdf-vm/asdf

License: Apache License 2.0

Shell 100.00%
asdf asdf-plugin

asdf-idris's Introduction

asdf-idris

help maintain this lib

Idris plugin for asdf version manager

Install

asdf plugin-add idris https://github.com/vic/asdf-idris.git

Requirements

OSX

For OSX this plugin has no aditional requirements as it will download and install the pre-packaged binaries as built by the Idris team.

One important difference with downloading and installing the pkg by hand is that using asdf allows you to have many versions of Idris installed alongside.

If you are on OSX and want to install from cabal be sure to set ASDF_IDRIS_INSTALL=cabal in your shell environment.

Linux, Windows and Installing-from-source

When installing on other platforms (Linux, Windows), or when installing a specific source revision, you will need to have cabal install and cabal sandbox working on your system.

The easiest way to get them is by using an asdf managed haskell. After installing haskell with asdf, execute:

stack install cabal-install
asdf reshim haskell

Another way is to manually install the Haskell Platform. Follow the Installation Instructions for installing any aditional build-time dependency for your platform.

Use

Check asdf readme for instructions on how to install & manage versions of Idris.

asdf-idris's People

Contributors

github-actions[bot] avatar renovate[bot] avatar smorimoto avatar vic avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

asdf-idris's Issues

Idris shows "Can't find import Builtins/Prelude"

$ asdf install idris 1.1.1
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   339  100   339    0     0    729      0 --:--:-- --:--:-- --:--:--   730
100 69.0M  100 69.0M    0     0  2108k      0  0:00:33  0:00:33 --:--:-- 3197k
694129 blocks

$ idris
Can't find import Builtins
Can't find import Prelude
     ____    __     _
    /  _/___/ /____(_)____
    / // __  / ___/ / ___/     Version 1.1.1-git:5e0301c
  _/ // /_/ / /  / (__  )      http://www.idris-lang.org/
 /___/\__,_/_/  /_/____/       Type :? for help

Idris is free software with ABSOLUTELY NO WARRANTY.
For details type :warranty.

Cannot compile hello.idr from tutorial neither.

$ idris hello.idr -o hello
Can't find import Builtins
Can't find import Prelude
Can't find import Prelude

I am totally new to Idris so no clue around. Tell me if you need more info.

Eventually I just installed from homebrew and it just worked.

$ brew install idris
==> Downloading https://homebrew.bintray.com/bottles/idris-1.1.1.sierra.bottle.tar.gz
######################################################################## 100.0%
==> Pouring idris-1.1.1.sierra.bottle.tar.gz
๐Ÿบ  /usr/local/Cellar/idris/1.1.1: 455 files, 228.6MB

$ idris
     ____    __     _
    /  _/___/ /____(_)____
    / // __  / ___/ / ___/     Version 1.1.1
  _/ // /_/ / /  / (__  )      http://www.idris-lang.org/
 /___/\__,_/_/  /_/____/       Type :? for help

Idris is free software with ABSOLUTELY NO WARRANTY.
For details type :warranty.
Idris>
Interrupt
Idris>
Bye bye

$ idris hello.idr -o hello

$ ./hello
Hello World!

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

This repository currently has no open or pending branches.

Detected dependencies

None detected


  • Check this box to trigger a request for Renovate to run again on this repository

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.