volth
|
88c1ea30e4
|
add docs and tests
|
2018-05-24 12:51:34 +00:00 |
|
Eelco Dolstra
|
5ad263c26b
|
Test some more primops
|
2014-02-26 19:08:44 +01:00 |
|
Eelco Dolstra
|
8e74c0bfd1
|
Let the ordering operators also work on strings
E.g. ‘"foo" < "bar"’ now works.
|
2013-08-02 18:53:02 +02:00 |
|
Eelco Dolstra
|
3d77b28eac
|
Add comparison operators ‘<’, ‘<=’, ‘>’ and ‘>=’
|
2013-08-02 18:39:40 +02:00 |
|
Eelco Dolstra
|
47701677e8
|
Add integer ‘-’, ‘*’ and ‘/’ operators
|
2013-08-02 16:03:02 +00:00 |
|
Eelco Dolstra
|
5d147e125c
|
Add a unary integer negation operator
This allows saying "-1" instead of "builtins.sub 0 1".
|
2013-08-02 15:43:31 +00:00 |
|
Eelco Dolstra
|
159e621d1a
|
Overload the ‘+’ operator to support integer addition
|
2013-08-02 15:21:17 +00:00 |
|
Eelco Dolstra
|
df8873e14a
|
* lessThan primitive for integer comparison.
|
2006-09-24 15:21:48 +00:00 |
|
Eelco Dolstra
|
2ab4bc44c7
|
* Builtin function `add' to add integers.
* Put common test functions in tests/lang/lib.nix.
|
2006-09-22 15:29:21 +00:00 |
|