static-land icon indicating copy to clipboard operation
static-land copied to clipboard

Specification for common algebraic structures in JavaScript based on Fantasy Land

Results 11 static-land issues
Sort by recently updated
recently updated
newest added

I propose adding the following section to the specification: ------------------ Any value may have a reference to a canonical module that works with values of that value's type. The reference...

Is there a standard library for built-in types like Array, Object, Map, etc? Something like [Sanctuary](https://sanctuary.js.org) is for Fantasy Land, but tree-shakable? I also noticed fp-ts but I want to...

Is there a way to programmatically test types for compliance with the various laws, similar to using [fantasy-laws](https://github.com/fantasyland/fantasy-laws) for Fantasy Land?

Hello all, Over the past week or so I've been combining what I've learned from static-land and fp-ts into a Deno specific library at [https://deno.land/x/hkts](https://deno.land/x/hkts). I'm chiming in here to...

Bumps [eslint](https://github.com/eslint/eslint) from 3.5.0 to 6.6.0. Release notes *Sourced from [eslint's releases](https://github.com/eslint/eslint/releases).* > ## v6.6.0 > * [`39dfe08`](https://github.com/eslint/eslint/commit/39dfe0880fa934e287e8ea1f7b56d5cba8d43765) Update: false positives in function-call-argument-newline (fixes [#12123](https://github-redirect.dependabot.com/eslint/eslint/issues/12123)) ([#12280](https://github-redirect.dependabot.com/eslint/eslint/issues/12280)) (Scott O'Hara) > *...

dependencies

Currently the `empty` of [`Monoid`](https://github.com/rpominov/static-land/blob/master/docs/spec.md#monoid) is specified as a nullary function rather than a plain value. Is there a plausible use case that benefits from `empty` being a function or...

I'd like to propose a new standard for creating algebraic data types. Consider the following. ```javascript const Maybe = {}; // Static Land Canonical Module const Nothing = (() =>...

Laziness can be useful with algebraic types. I recently implemented an experimental approach to laziness in my partial.lenses library. The idea is briefly discussed in [issue 56](https://github.com/calmm-js/partial.lenses/issues/56). The experimental approach...

I have no idea what can be done in this area yet, but wanted to open an issue for general discussion on the topic. Some relevant links: https://github.com/donnut/typescript-ramda/ https://github.com/facebook/flow/issues/172

We'll probably need to change spec over time. So we can end up in a situation where two libs use different spec versions and can't be used together. We should...