-
As part of work on PR #16 I decided to type-check TreePPL functions. Say we have a function:
```
model function coinModel(coinflips: Bool[]) : Real {
assume p ~ Beta(2.0, 2.0); // prior
le…
-
### Need
_In order to_ call functions that have multiple inputs in a monadic way
_As a_ user
_I want to_ have nice syntax for curing a function
### Scenario
**Scenario:** fp should provid…
-
Is there a specific reason for making the function `f` the second argument? It seems a bit unfortunate that this makes it impossible to use the `do` syntax which one could use if `f` would be the firs…
-
Does the grouping method by predicate supports curried functions? I couldn't make it work.. perhaps it's because it does not support byte-compiled function well? Below is a minimal example.
### Set…
-
python v3.7.7
pylint v2.4.4
ramda v0.5.7
```python
import ramda as R
old_list_of_objs = [{'name': 'a good name', 'age': 99, 'color': 'red'}, {'name': 'also a good name', 'age': 100, 'color': …
-
While working on the DML users' manual (#303) and, in particular, trying to write a worked example, it became clear that there were some things that were going to be awkward to describe and that I mig…
-
I find that I often want to map a sequence of functions over a list of items.
I realize I could do
```
map(compose(func3, func2, func1), seq)
```
but it feels more natural to do use something clos…
-
When filtering documents based on nested string arrays using `r.match()`, it become a bit hairy. It would be great if `array.match(regexp)` queries were automatically expanded to a filter function. Wi…
-
## Proposal
Currently
> A JavaScript library built to encourage a functional programming style & strategy
Proposed change
> A library for manipulating first class functions in JavaScript.
## Ratio…
-
#### Issue type:
- :bug: Bug
____
#### Short description:
I had trouble picking a title that didn't basically say, "flip works as expected". As far as the type system exposed by ID is …