mirror of
https://github.com/carp-lang/Carp.git
synced 2024-11-04 01:25:04 +03:00
d8d3669a16
* feat: add 'when' functions for Maybe and Result These functions enable users to execute some side-effecting function (one that returns unit and take no arguments) based on the contents of a Maybe or Result. `when-success`: Executes a side-effect when given a `Result.Success` `when-error`: Executes a side-effect when given a `Result.Error` `when-just`: Executes a side-effect when given a `Maybe.Just` `when-nothing`: Executes a side-effect when given a `Maybe.Nothing` * docs: add Control to core lib doc generation |
||
---|---|---|
.. | ||
core | ||
sdl | ||
carp_on_arduboy.jpg | ||
CInterop.md | ||
compiler-passes.drawio | ||
compiler-passes.svg | ||
Contributing.md | ||
Derive.md | ||
Drop.md | ||
DynamicSemantics.md | ||
Embedded.md | ||
Format_Strings.md | ||
hacking.md | ||
HowToRunCode.md | ||
index.md | ||
Install.md | ||
LanguageGuide.md | ||
Libraries.md | ||
Macros.md | ||
Manual.md | ||
Memory.md | ||
Multimedia.md | ||
patterns.md | ||
Quasiquotation.md | ||
ReleaseChecklist.md | ||
Terminology.md | ||
Tooling.md |