Commit Graph

3246 Commits

Author SHA1 Message Date
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
Chris Dewar-English
0103ef7370 Change the setting name to remove confusion 2019-04-22 21:52:06 +01:00
Chris Dewar-English
7680ceb1db Remove extra bullet
Add missing space
2019-04-22 20:57:50 +01:00
Chris Dewar-English
7882fc63bf Option to disable compilation (just generate the C source) 2019-04-22 20:02:34 +01:00
Erik Svedäng
702ca00f08
Merge pull request #417 from hellerve/optional-assert
Make all asserts optional
2019-04-21 10:53:59 +02:00
hellerve
0e7bd44dd9 core: make all asserts optional 2019-04-21 08:43:18 +02:00
Erik Svedäng
ff81646b48 Merge branch 'master' of https://github.com/carp-lang/Carp 2019-04-20 12:07:25 +02:00
Erik Svedäng
34ef8b233a Docs 2019-04-20 12:07:17 +02:00
Erik Svedäng
1fb3ec5ed0
Merge pull request #415 from jacekschae/patch-1
lost paren
2019-04-20 11:56:09 +02:00
Erik Svedäng
2aa0d93f13
Merge pull request #413 from scolsen/mangle-keywords
Add Identifier mangling for invalid identifier strings
2019-04-20 11:54:24 +02:00
Jacek Schæ
a268fabc1c
lost paren 2019-04-19 15:09:52 +02:00
Scott Olsen
c8097d51d9 Merge branch 'master' of https://github.com/carp-lang/Carp into mangle-keywords 2019-04-17 22:02:17 -04:00