rowtype-yoga / purescript-literals Goto Github PK
View Code? Open in Web Editor NEWA Symbol Proxy having a runtime value equal to the reflected symbol
License: MIT License
A Symbol Proxy having a runtime value equal to the reflected symbol
License: MIT License
I'm not sure how useful it could be but by providing this general evaluator maybe we can achieve some interesting type level defaults for day to day use etc.
Do you think it is worth a PR?
My propositions:
literals
as we have multiple of them now
typelevel-literals
reflected
or reflected-literals
I think that literal
is a bit to generic. Of course naming is a mainly matter of personal opinion so I understand if you just close this issue :-P
I'd like to add this back to the package set (and also untagged-union). A new release of this would be a good start.
Building with spago bundle-app
yields the following error:
✘ [ERROR] Unexpected "_null"
output/Literals.Null/foreign.js:1:7:
1 │ export _null = null;
╵ ~~~~~
If we add these literals we are going to cover the whole set of basic constructs of PS and be able to define "nearly all" "static / simple" values on the type level.
The question is if it is feasible... ;-)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.