mirror of
https://github.com/carp-lang/Carp.git
synced 2024-11-04 01:25:04 +03:00
02936cc74c
* core: add derive * fix: fix errors with set! Notably, don't type check dynamic bindings (which can be set to whatever) and eliminate a hang that resulted from not handling an error at the end of the `set!` call. Also refactors some of the code in efforts to make it a bit cleaner. Also adds an error when `set!` can't find the variable one calls set! on. * feat: better derive * test: add error test for derive * document derive * add derive to core documentation to generate * core: add derive * fix: fix errors with set! Notably, don't type check dynamic bindings (which can be set to whatever) and eliminate a hang that resulted from not handling an error at the end of the `set!` call. Also refactors some of the code in efforts to make it a bit cleaner. Also adds an error when `set!` can't find the variable one calls set! on. * feat: better derive * document derive * feat: first completely working version of derive * feat: make name of derivable customizable (thanks @scolsen) * refactor: implement doc edits provided by @scolsen * feat: change argument order for derive * fix: change deriver error test * test: add derive tests * fix: change order of derive back * docs: fix typo in derive document Co-authored-by: scottolsen <scg.olsen@gmail.com> |
||
---|---|---|
.. | ||
headers | ||
bugs.carp | ||
carp_demo.carp | ||
derive.carp | ||
external_struct.carp | ||
fonts.carp | ||
functor.carp | ||
game_of_life.carp | ||
generic_structs.carp | ||
glfw.carp | ||
guessing_game.carp | ||
langtons_ant.carp | ||
maps.carp | ||
minimal_sdl.carp | ||
mutual_recursion.carp | ||
nested_lambdas.carp | ||
no_core.carp | ||
reptile.carp | ||
sorting.carp | ||
sounds.carp | ||
static_array.carp | ||
sumtypes.carp | ||
unicode.carp | ||
updating.carp | ||
vector.carp |