Steve Dunham
7221c99e93
[ error ] Improve error messages for indentation issues
2023-05-13 10:25:38 +01:00
Denis Buzdalov
c285ef06dd
[ re #2960 ] Move defs of closures data types to a separate module
2023-05-11 15:31:45 +01:00
Asafov Alexander
6b768f28b1
Ignore tryAlt Result values in Core.Normalise.Eval
2023-05-09 11:42:10 +02:00
Asafov Alexander
2cafbe217b
Returning function names evalConAlt and evalTree in Core.Normalise.Eval
2023-05-09 11:42:10 +02:00
Asafov Alexander
f93c927952
[ perf ] make Core.Normalise.Eval.evalDef stack safety
2023-05-09 11:42:10 +02:00
Robert Wright
9bfa04921a
Add symmetric and transitive closure relations
2023-05-08 11:53:21 +01:00
stefan-hoeck
3c9393e5a8
[ codegen ] constant fold believe_me
2023-05-06 14:52:14 +01:00
Stefan Höck
e34b5a64f0
[ codegen ] get rid of trivial let statements ( #2961 )
2023-05-06 08:35:17 +01:00
madman-bob
a00b7ee7ec
Public export TTImp reflection functions ( #2947 )
...
Co-authored-by: Thomas E. Hansen <teh6@st-andrews.ac.uk>
Co-authored-by: Ohad Kammar <ohad.kammar@gmail.com>
2023-05-05 10:33:32 +01:00
stefan-hoeck
bc1a51ea18
[ regression ] revert to previous implementation of Show
2023-05-02 11:23:14 +02:00
stefan-hoeck
83f5ef27b6
[ new ] Eq, Ord, Semigroup, and Monoid for All
2023-05-02 11:23:14 +02:00
Denis Buzdalov
55efd7dd7b
[ new ] Add Compose
instances for Bi* interfaces, analogous to present
2023-04-25 12:59:25 +01:00
Mathew Polzin
177bcff725
[fix] Correct spellings of auto-implicit depth and metavar threshold.
2023-04-24 07:00:09 +01:00
Justus Matthiesen
360232de35
[ refactor ] renamed checkDesc
to checkNonDesc
2023-04-23 17:42:04 +01:00
Justus Matthiesen
1d3bad7c0e
[ doc ] reference to termination paper
2023-04-23 17:42:04 +01:00
Steve Dunham
97b7697a0e
[ fix ] Issue in totality checking
2023-04-23 17:42:04 +01:00
Steve Dunham
3ad391d597
[ fix ] codegen issue when using partial case statements in prelude. ( #2952 )
2023-04-23 11:07:04 +01:00
Thomas E. Hansen
a423715da1
[ new ] Add compile.casetree.missing topic
...
This allows us to track when we're compiling non-covering case blocks.
2023-04-22 08:33:38 +01:00
Marshall Abrams
3eeb4f4cd3
Added notes: :exec needs to be passed main ( #2946 )
2023-04-16 08:10:08 +01:00
Steve Dunham
9544162bc4
[ new ] Add support for bi-directional pipes on POSIX systems ( resolves #2935 ) ( #2944 )
2023-04-15 09:39:17 -05:00
Steve Dunham
a75161cb20
[ parser ] Improve error message for missing comma or period in forall.
2023-04-07 08:42:42 +01:00
G. Allais
b185f1ff85
[ new ] %unsafe pragma for escape hatches ( #2937 )
2023-04-03 21:42:47 +01:00
Thomas E. Hansen
87ebe7d932
[ contrib ] Add modFin and strengthenMod
2023-03-31 14:18:27 +02:00
Adowrath
6b38592b5a
Add HasNamespaces Lifted* implementations
2023-03-29 09:00:06 +01:00
Denis Buzdalov
cf63ee2ef2
[ base ] Add extraction functions to Data.Singleton
2023-03-28 11:29:09 +01:00
Robert Walter
8120988a60
[ doc ] extend tutorial ( #2897 )
2023-03-28 10:27:23 +01:00
Robert Wright
fb956802ab
Add Elem get and lookup functions
2023-03-23 19:36:20 +00:00
Bertalan Kis
c64c6a43aa
make cond's default argument lazy
2023-03-15 10:15:50 +00:00
Zoe Stafford
442c5b529f
Collect constructors on the left hand side of case alternatives ( #2919 )
...
* [ fix ] collect constructors on LHS of cases alts
* [ tests ] Updated expected
These functions do refer to these constructors at runtime, so this is the correct output
* Update CHANGELOG.md
* [test] update test output again
2023-03-14 15:05:19 +00:00
Zoe Stafford
79116320dd
Merge pull request #2914 from dunhamsteve/enableRawMode
...
[ base ] Support unbuffered reading of stdin
2023-03-08 12:31:23 +00:00
Steve Dunham
081938bad8
[ base ] Add support for unbuffered stdin
2023-03-07 13:28:25 -08:00
Zoe Stafford
48531f73dd
Fix typo
2023-03-07 09:07:12 -08:00
G. Allais
b5197d5c5d
[ fix ] partial evaluation implementation ( #2899 )
2023-03-07 08:31:29 +00:00
Denis Buzdalov
b03ce53e97
[ refactor ] Treat other out-of-order computations during logging
2023-03-06 12:56:39 +00:00
Denis Buzdalov
b5fe607f4e
[ regression ] Do toFullNames
only when logging happens
2023-03-06 12:56:39 +00:00
Zoe Stafford
2f47ce032a
Merge pull request #2912 from Z-snails/fix-typo
...
Fix typo
2023-03-05 13:00:27 +00:00
Zoe Stafford
1593e9f7da
Merge pull request #2911 from Z-snails/fixity-fix
...
Remove unused fixity definition
2023-03-05 13:00:05 +00:00
Zoe Stafford
c05971482f
Update Changelog
2023-03-05 11:14:21 +00:00
Zoe Stafford
5e3b9634fe
Fix typo
2023-03-05 11:06:05 +00:00
Zoe Stafford
dcb66a8757
Remove unused fixity declaration
...
This conflicts with a used one in `Data.String.Parser`
2023-03-05 10:18:20 +00:00
CodingCellist
7972c6acbd
[ new ] Implement bit-rotation operators ( #2903 )
...
* [ new ] Implement bit-rotation operators
Whereas `shiftR` and `shiftL` throw bits off the edge, the `rotR` and
`rotL` operations wrap the bits around to the start of the bit-stream.
* [ test ] visualise bit patterns instead
* [ fix ] print bit patterns the right way around
---------
Co-authored-by: Guillaume Allais <guillaume.allais@ens-lyon.org>
2023-03-04 14:41:54 +00:00
André Videla
24a69089bc
Merge pull request #2900 from mjustus/fix2895
...
[ fix #2895 ] don't erase argument when type is erased
2023-03-04 09:34:28 +00:00
CodingCellist
ba24892e2f
[ new ] Couple of useful things for Vect ( #2904 )
...
Co-authored-by: Ohad Kammar <ohad.kammar@ed.ac.uk>
Co-authored-by: André Videla <andre.videla@gmail.com>
Co-authored-by: Guillaume Allais <guillaume.allais@ens-lyon.org>
2023-03-03 15:58:44 +00:00
CodingCellist
7156866778
[ admin ] Update what should go in the changelog ( #2905 )
...
* [ admin ] Update what should go in the changelog
There has been some stuff inconsistently slipping through the cracks, so
it is probably best to explicitly include it.
* [ admin ] Bloody linter...
* [ admin ] Third time's the charm?
Dear linter: [REDACTED]
* [ admin ] Reword PR template
"an addition" is too broad for what it was intended for: paper
implementations
2023-03-03 15:46:06 +00:00
Ohad Kammar
1ea1cbeede
Refactor Data.Nat to use preorder reasoning to improve readability
2023-03-03 15:45:31 +00:00
rhiannon morris
20ecc02569
add Functor impl for Tokenizer ( #2901 )
2023-02-28 09:20:21 +00:00
Justus Matthiesen
a40eaead0b
[ fix ] don't erase argument when type is erased
...
When the linearity is called on an application in erasure mode, the
function type containing the relevant quantity may already be erased. In
that case, we return the original term and an empty usage.
Returning an empty usage is potentially incorrect but no linearity is
done in erasure mode, making his safe.
2023-02-27 13:41:55 +00:00
G. Allais
310a8f12cd
[ new ] missing buffer primitives ( #2893 )
2023-02-26 17:50:52 +00:00
Andre Videla
0f4464a690
add logs to linear check
2023-02-25 22:29:34 +00:00
Andre Videla
891c1751ed
add tests
2023-02-25 12:19:29 +00:00