Comments (5)
Encoding this in the types would be nice. As long as the types don't get too complicated.
Reminds me of this article: https://pragprog.com/magazines/2012-09/thinking-functionally-with-haskell
I'll have to read it again, but as I remember, it talked about the relationship between tests and types and further argued that types are a form of test.
from frp-arduino.
I didn't quite understand how linear types was used in the Rust example. Or maybe it wasn't? Maybe it was just that Rust code compiled to AVR?
from frp-arduino.
I suspect there are issues encoding this in Haskell.... but I'll need to look closer to see.
@rickardlindberg just as compiling to AVR. The linear types is built directly into the way it does memory management
from frp-arduino.
@rickardlindberg this is a great overview of linear types: [www.cs.ucsb.edu/~benh/290C_W15/papers/Linear Types Can Change the World.pdf](www.cs.ucsb.edu/~benh/290C_W15/papers/Linear Types Can Change the World.pdf)
from frp-arduino.
Interesting. I didn't understand all of it in the first pass. Maybe I'll read it once more another time :)
from frp-arduino.
Related Issues (20)
- What is your interest in frp-arduino? HOT 5
- Problem: PWM missing from API HOT 5
- Problem: IC2 missing from API HOT 2
- Problem: Num TypeClass not finished HOT 1
- Problem: Folds only work for numbers
- Problem: Arduino makefile is overkill
- Question: Should DAG.Expression remain untyped? HOT 14
- Issue handling process HOT 4
- How much optimization can we get from gcc? HOT 1
- Problem: LCD can only output static text
- Question: Potentially add support for random sampling HOT 2
- Question: Reading inputs via interrupts HOT 1
- Question: Why is there no pin9? HOT 3
- Project status HOT 7
- How would one add new Arduino microcontrollers HOT 7
- API Documentation Missing HOT 15
- test Fails Because of Missing Files in dist HOT 3
- Not able to run make succesfully HOT 5
- Support for stack HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from frp-arduino.