fogfish
fogfish
https://docs.aws.amazon.com/cdk/latest/guide/cfn_layer.html Often it is required to Modifying the AWS CloudFormation Resource behind AWS Constructs. The library should introduce a pure functional way to make it.
The lib supports stack construction using following syntax ```typescript const app = new cdk.App() const stack = (): cdk.StackProps => ({}) pure.iaac(cdk.Stack)(stack) .effect(x => { pure.join(x, RestApi) pure.join(x, LogGroup) pure.join(x,...
**As a** developer **I want to** give a name and pass parameters to `cdk.Stack` **So that** single application delivers immutable green/blue variants of same stack With current API, you do...
Evaluate a possible use-cases of given policies. https://en.wikipedia.org/wiki/Cache_replacement_policies
`datalog:p/1` and `datalog:c/1` are pure functions that returns either data type. Existed implementation is mixed. Error returned as `{error, ...}` but success is not packages to either container. `datalog:c/1` exists.
consider the use-case: ``` t(Urn,L) :- f(Urn, "urn:rdfs:label", L), L = "Lomonosov Russia". ``` predicate `f` bind second variable to `"urn:refs:label"` but variable name unknown. The parser builds ``` #{t...
Guards supports only literals. ``` h(a,b,c,x,y) :- f(a,b,c),f(x,b,y), a != 1. ``` ``` h(a,b,c,x,y) :- f(a,b,c),f(x,b,y), a != x. ** exception error: {badmap,{error,{1,datalog_yeec, ["syntax error before: ",["x"]]}}} ```
In Erlang, we apply functions using prefix notation - name is followed by its arguments in brackets `plus(1, 2)`. Humans are more used to infix operators than prefix or postfix....