GrayJack
1e093fdc60
Fix the mess my plugin did in the README
2019-05-20 14:26:13 -03:00
GrayJack
c41ecf79ec
Fix memory test for Array.index-of
2019-05-14 20:14:14 -03:00
GrayJack
353f8470ed
Fix tests on memory.carp, Modify Statistics module as Veit Heller
...
sugested
2019-05-14 20:11:19 -03:00
GrayJack
bfd80fd4af
Fix minimum name and it comparison function
2019-05-14 13:29:30 -03:00
GrayJack
25e80273ff
Fix memory test using the new version of the Array function
...
Tried to fix problems on Statistics.carp with the new Array functions
2019-05-14 13:26:19 -03:00
GrayJack
2228a8c5fa
Change Array.maximum and Array.minimum to fix behaviour and keep clonning to a minimum. (Thanks Veit Heller!!!)
...
Also added my name to the contributors
2019-05-14 11:57:50 -03:00
GrayJack
f69650434d
Better doc string for Array.index-of
2019-05-14 06:53:19 -03:00
GrayJack
d18fa71afb
Made Array.index-of safe
2019-05-14 06:48:26 -03:00
GrayJack
11338e6414
Remove "TODO unsafe" strings
2019-05-14 06:34:14 -03:00
GrayJack
152818cde5
A better doc string for minimum and maximum
2019-05-13 21:52:52 -03:00
GrayJack
783167bb27
Modify the functions Array.maximum and Array.minimum to be safe
...
- Also made zero function for Pair so we don't lose compatibility with
it
2019-05-13 21:41:45 -03:00
GrayJack
caf01bff35
Made Array.find safe wrapping in a Result
...
- Also some typo fixes in Array module doc strings
2019-05-13 14:47:03 -03:00
Erik Svedäng
0edbddd32a
Merge branch 'master' of https://github.com/carp-lang/Carp
2019-05-10 11:26:47 +02:00
Erik Svedäng
9b6e3636a8
Merge pull request #439 from hellerve/safe-read
...
Safe IO.read->EOF
2019-05-10 11:26:40 +02:00
hellerve
992b0c5fc5
core: fix IO.read->EOF
2019-05-10 11:21:46 +02:00
Erik Svedäng
75c77f0e12
Moving todos.
2019-05-10 11:18:38 +02:00
Erik Svedäng
d3ad77f63b
Merge pull request #438 from ShalokShalom/patch-1
...
Correct typo
2019-05-10 10:59:52 +02:00
ShalokShalom
8c6350ff24
Correct typo
2019-05-10 10:51:38 +02:00
Erik Svedäng
7b4b16e9b4
A todo.
2019-05-10 09:58:14 +02:00
Erik Svedäng
8bc50fa0c9
Merge pull request #436 from hellerve/reverse
...
Add Pair.reverse and Map.reverse
2019-05-05 12:19:54 +02:00
hellerve
8089585f0a
core: add docstring to Map.reverse
2019-05-05 11:55:37 +02:00
hellerve
9bd06d2fa7
docs: updated map documentation
2019-05-05 11:53:27 +02:00
hellerve
58e280c553
core: add Pair.reverse and Map.reverse
2019-05-05 11:49:30 +02:00
Erik Svedäng
819c8919e1
Maybe docs
2019-05-03 15:31:43 +02:00
Erik Svedäng
cc26dbdbcf
Merge pull request #432 from hellerve/fix-287
...
Add Maybe.ptr and Maybe.from-ptr
2019-05-03 15:30:24 +02:00
hellerve
79a0fb77c5
core: add Maybe.ptr and Maybe.from-ptr, references #287
2019-05-03 13:49:33 +02:00
Erik Svedäng
37eab7f7a5
Merge pull request #429 from hellerve/patch-1
...
core: typo fix in Maybe.to-result
2019-05-02 22:44:07 +02:00
Veit Heller
64ef326a21
core: typo fix in Maybe.to-result
2019-05-02 22:33:18 +02:00
Erik Svedäng
9b9b0df90e
Merge pull request #426 from hellerve/hlint-fixes
...
Apply hlint fixes
2019-05-01 20:10:52 +02:00
Erik Svedäng
ab16e9de5e
Merge pull request #428 from hellerve/clarify-git-loading
...
Clarify git loading situation in docs
2019-05-01 11:25:31 +02:00
hellerve
59f355be6d
docs: fix typo
2019-05-01 09:18:52 +02:00
Erik Svedäng
a09ac28bb5
Merge pull request #427 from hellerve/while-do
...
Add while-do macro
2019-05-01 09:10:46 +02:00
hellerve
122038fad3
docs: clarify git loading situation
2019-05-01 00:24:29 +02:00
hellerve
a1f5b1fc2f
core: add while-do macro
2019-04-30 21:42:34 +02:00
hellerve
d94620d84a
core: apply hlint fixes
2019-04-30 16:21:06 +02:00
Erik Svedäng
a49fc63f95
Merge pull request #425 from hellerve/docs-generate-index
...
docs: Make generating index.html optional
2019-04-30 09:10:23 +02:00
hellerve
c35a83c94c
core: add docs-generate-index (references #374 )
2019-04-29 19:06:53 +02:00
Erik Svedäng
a4f2b921ec
Merge pull request #424 from scolsen/issue414/digit-identifiers
...
Return errors on non unqualified symbol identifiers for def and deftype
2019-04-27 22:24:06 +02:00
Scott Olsen
49c9993870
refactor: Define isUnqualifiedSym in Obj.hs
2019-04-27 16:10:07 -04:00
Scott Olsen
c5a116ddbe
eval: Require type members to be unqualified symbols
2019-04-27 16:03:15 -04:00
Scott Olsen
ebad322241
eval: Require def names to be unqualified symbols
2019-04-27 14:30:35 -04:00
Erik Svedäng
51c4fdf152
Merge branch 'master' of https://github.com/carp-lang/Carp
2019-04-26 19:52:16 +02:00
Erik Svedäng
dcb214b1a9
Merge pull request #422 from hellerve/fix-421
...
Return an error on invalid the expression
2019-04-26 19:42:50 +02:00
Erik Svedäng
9955c337dd
Add space
2019-04-26 19:40:55 +02:00
hellerve
9e7ae808e7
expand: return an error on invalid the expression
2019-04-26 17:44:29 +02:00
Erik Svedäng
f099f1e207
Merge pull request #420 from hellerve/defn-unqualified-syms
...
Require defn symbols to be unqualified
2019-04-25 10:39:42 +02:00
hellerve
93cc283e4c
eval: require defn symbols to be unqualified
2019-04-24 20:25:08 +02:00
Erik Svedäng
f8b0779e59
Merge pull request #419 from scolsen/issue414/digit-identifiers
...
Return errors on non symbol identifiers
2019-04-24 20:16:04 +02:00
Erik Svedäng
ac6584f6ff
Merge pull request #418 from babelchips/NoCompileOption
...
Option to disable compilation (just generate the C source)
2019-04-24 20:12:20 +02:00
Scott Olsen
d5e37a7c7e
Return eval errors on non symbol defn identifiers
...
Function definition identifiers cannot begin with digits. This
change adds a check on defn identifiers to ensure they are symbols.
Without this check, the evaluator permits Carp declarations such as
`(defn 4 [] 4)` which are not callable and result in invalid C.
After this change, the evaluator returns an error when it encounters a
defn declaration that contains a non-symbolic identifier such as `4`.
2019-04-24 00:25:54 -04:00