Commit Graph

10001 Commits

Author SHA1 Message Date
Alex Humphreys
289b0589ae
Update introduction.rst
Got the error `Can't find import Effects` when attempting this part of the tutorial. Managed to solve it after finding issue #1524, but would have been faster if this flag was mentioned in the tutorial.
2020-03-17 15:09:45 +01:00
Niklas Larsson
93cfe987f3
Merge pull request #4820 from nickdrozd/reverse
More proofs, simpler proofs
2020-03-14 01:58:14 +01:00
Jan de Muijnck-Hughes
853e4533e7
Merge pull request #4825 from jfdm/doc-fixes
Fix Readthedocs PDF generation
2020-03-10 14:47:40 +00:00
Jan de Muijnck-Hughes
c76ade1f0a Fix Readthedocs PDF generation
RTD is consistently not building the PDF of the Idris Documentation. I think it is because we have two documents built.
I have made the opinion to only have the main tutorial build, as this would be of most interest to others.
2020-03-10 14:45:05 +00:00
Jan de Muijnck-Hughes
b7a191bbf3
Merge pull request #4823 from jfdm/doc-fixes
Minor fix to latex sphinx build configuration.
2020-03-10 14:20:32 +00:00
Jan de Muijnck-Hughes
bc8926c1b9 Minor fix to latex sphinx build configuration.
Build was failing locally with \textlambda not being found. Added new package for fix.

Changed name of generated pdf to match project name, and removed second PDF file in list. This hopefuly will make RTD build again...

Update PDF of tutorial in source repository.
2020-03-10 14:17:53 +00:00
Nick Drozd
8684daec51 Align steps in preorder reasoning example 2020-03-06 16:07:00 -06:00
Nick Drozd
588bc99229 Simplify isomorphism proofs 2020-03-06 16:07:00 -06:00
Nick Drozd
76c37e765c Simplify proofs of algebra laws 2020-03-06 16:07:00 -06:00
Nick Drozd
1f56ca89e3 Further simplify Nat proofs 2020-03-06 16:07:00 -06:00
Nick Drozd
ec395a7a29 Add more reverse properties 2020-03-06 16:07:00 -06:00
Nick Drozd
2e994cdef1 Rename List.Extra to List.Reverse 2020-03-06 16:07:00 -06:00
Edwin Brady
bbd0f286c2 Fix fileModifiedTime on 32 bit systems
Can't use MKBIGI for the result, since that'll be a negative number for
the current time! So use MKBIGUI instead to ensure it stays unsigned.
2020-03-06 09:13:00 +00:00
Niklas Larsson
10fd4e71f8
Merge pull request #4812 from nickdrozd/factorial
Add factorial proofs
2020-02-29 14:19:31 +01:00
Niklas Larsson
3d83aa0345
Merge pull request #4818 from nickdrozd/proofs
Simplify some Nat proofs
2020-02-29 14:19:08 +01:00
Nick Drozd
1653d3ead0 Simplify parity arithmetic proofs 2020-02-28 17:35:59 -06:00
Nick Drozd
b72dfc98b4 Add more parity proofs and some commentary 2020-02-28 17:25:17 -06:00
Nick Drozd
7ecd2ff576 Simplify some Nat proofs 2020-02-25 19:29:16 -06:00
Nick Drozd
f80809a157 Add factorial proofs 2020-02-03 21:45:55 -06:00
Niklas Larsson
10b7fe8bca
Mention Idris 2 in README 2020-02-01 01:18:52 +01:00
Niklas Larsson
fc0acd9f00
Merge pull request #4805 from martinbaker/parseLibDoc2
Extend and Fix Parser Library Documentation
2020-02-01 01:12:19 +01:00
Niklas Larsson
9074a76cb3
Merge pull request #4806 from mokshasoft/rts-stdfgn
Rts stdfgn
2020-02-01 01:11:34 +01:00
Niklas Larsson
70ebef5f0e
Merge pull request #4810 from wstrm/docs-num-lines-js
Change lines of code of JavaScript to 60 for Hello World example in docs
2020-02-01 01:10:37 +01:00
Niklas Larsson
246c890f89
Merge pull request #4811 from melted/idris2-travis
Add a travis target building Idris 2
2020-02-01 01:09:37 +01:00
Niklas Larsson
bc5ee4b189 Add a travis target building Idris 2 2020-01-31 22:51:56 +01:00
William Wennerström
55df0fb894
Change lines of code of JavaScript to 60 for Hello World example in docs
A simple hello world program now produces about 60 lines of code:
```
~/projects/learn-idris ξ cat hello.idr
main : IO ()
main = putStrLn "Hello, world!"
~/projects/learn-idris ξ idris --codegen javascript hello.idr -o hello.js
~/projects/learn-idris ξ wc -l hello.js
61 hello.js
```

Far from 1500! Hooray :)
2020-01-27 18:58:10 +01:00
Niklas Larsson
53f6fc98b1
Merge pull request #4808 from melted/ghc-8.8
Compile with GHC 8.8
2020-01-25 19:35:39 +01:00
Niklas Larsson
9662ab5e4a Disable travis for GHC 8.8 (libffi still broken)
Update changelog

Use GHC 8.8 in Appveyor

Run legacy test commands
2020-01-25 18:48:50 +01:00
Niklas Larsson
b4dc55ed5e Missed one v1- command in travis 2020-01-25 04:28:05 +01:00
Niklas Larsson
7d0a9761dd Use xenial on travis 2020-01-25 04:09:23 +01:00
Niklas Larsson
4770d51615 Try to fix ppa load 2020-01-25 04:06:25 +01:00
Niklas Larsson
e79aaaae22 Merge remote-tracking branch 'origin/master' into ghc-8.8 2020-01-25 03:58:36 +01:00
Niklas Larsson
57624a859d Fix test for GHC 8.8 2020-01-25 03:53:47 +01:00
Niklas Larsson
f784403492 Use a newer Ubuntu on travis 2020-01-25 03:49:58 +01:00
Niklas Larsson
6ccef96deb Use legacy cabal commands for travis 2020-01-25 03:21:07 +01:00
Niklas Larsson
60c0d1c8df Cut GHC 7.10, add GHC 8.8 to Travis 2020-01-25 03:15:00 +01:00
Niklas Larsson
41a1278af0 Upgrade cabal for travis 2020-01-25 02:23:56 +01:00
Niklas Larsson
b5a6637da8 Rename expected, input and run
Because cabal's wildcards are broken and doesn't allow
files without file endings.
2020-01-25 01:44:54 +01:00
Niklas Larsson
1dd93169c9 Compatibility with GHC 8.8 and Cabal 3.0 2020-01-25 00:08:20 +01:00
martinbaker
161573f75e add documentation about end-of-input 2020-01-23 12:34:01 +00:00
martinbaker
0d8b94dcbd show how to filter whitespace 2020-01-23 11:20:28 +00:00
Niklas Larsson
1f9ad21570
Merge pull request #4804 from nickdrozd/parity
Add parity arithmetic proofs
2020-01-22 20:57:40 +01:00
Jonas Claeson
159a7d473e Remove unused header files in the C RTS 2020-01-21 08:56:34 +01:00
Jonas Claeson
33be12cabe Moved idris_usleep to idris_stdfgn 2020-01-21 08:54:25 +01:00
martinbaker
06af0c1714 extend and fix parser library documentation 2020-01-16 14:04:50 +00:00
martinbaker
0ec3bdc560 extend and fix parser library documentation 2020-01-16 13:44:19 +00:00
martinbaker
a99e9632a7 dont use partial functions 2020-01-16 12:45:34 +00:00
martinbaker
50db7e103b tidy up 2020-01-15 18:18:45 +00:00
martinbaker
3a6bd7b5df document do notation for grammar 2020-01-15 10:12:20 +00:00
Nick Drozd
2c45164ae4 Add parity arithmetic proofs 2020-01-12 12:23:23 -06:00