Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I get the source code of Idris standard library?

I'm intrested because I would like to inspect the definitions of built-in functions in Prelude.

I searched for it, but only found the precompiled files in ~/.cabal/share/idris...

like image 568
Boldizsár Németh Avatar asked Sep 05 '13 16:09

Boldizsár Németh


People also ask

How do I find the version of the InterSystems Iris source code file?

Typically, the first REST call you’ll make is to the GetServer method, which returns information about the InterSystems IRIS Source Code File REST API version number and the namespaces available on the server.

Where are the source codes of various libraries stored in Arduino?

Or where are the source codes of various libraries like SPI or Wire are stored. The Arduino Source Code files can be accessed by going to the directory containing your Arduino Software. On Windows, you can type Arduino in the start, right-click on Arduino and click on 'Open File Location'.

Is there an implementation of the C++ standard library in GNU?

The GNU project is Free and Open Source software, and contains an implementation of the C++ standard library. Really? Any of the tarballs in here should extract to the standard c++ lib source: mirror.clarkson.edu/gnu/libstdc++ Any idea in which source file SET is implemented?

Where do I put user-installed libraries?

They should go into the libraries folder which is a subdirectory of your sketchbook folder. Create the libraries folder if it does not exist. That way user-installed libraries persist from one version of the IDE to the next. Show activity on this post. I think this may have changed in newer versions.


1 Answers

According to Vitus's comment I found the sources here:

https://github.com/idris-lang/Idris-dev/tree/master/libs

like image 95
Boldizsár Németh Avatar answered Oct 20 '22 16:10

Boldizsár Németh