enricopolanski / functional-programming Goto Github PK
View Code? Open in Web Editor NEWIntroduction to Functional Programming using TypeScript and fp-ts.
License: Other
Introduction to Functional Programming using TypeScript and fp-ts.
License: Other
since fp-ts (v3) has been merged into the Effect ecosystem it would be great to have this course rewritten using Effect
Have you thought about the structure related to translation?
Instead of
A function that returns errors or throws exceptions is an example of a partial function.
Maybe we should remove the returns error part:
A function that throws exceptions is an example of a partial function.
If a function returns an error it may still be pure.
I understand this is a translation from another repo, but from the text I couldn't fully understand what code properties mean. We have below in the text:
In functional programming, where there's an emphasis on code properties rather than implementation details, the map operation is interesting due to its limitations
I have some guesses but What is the actual definition of term Code Property?
Looking at the sentence:
Please note that in order for f and g to combine, the domain of f has to be included in the codomain of g.
Shouldn't it be:
Please note that in order for f and g to combine, the codomain of g has to be included in the domain of f.
That way for any possible input x then there is an element g(x) is domain of f. (Codomain of g has fewer or equal number of elements than domain of f)
Or is there a gitbook but no link to it?
Really great work though! <3
functional-programming/README.md
Line 2905 in 8cc7491
Should be const idB = (n: number): number => n
?
Suggestion: Would it be possible for to make a youtube presentation of this repo? Thank's for publishing!
Can you add answers to the quiz questions that pop up throughout the file?
For instance, I'm at this section "Order-derivable Semigroups" where there's this quiz question: Quiz. Why is it so important that number is a total order?
. As a reader I do have some answer to that question, but I don't know if that answer is correct and have no way to validate it.
Instead of sentence:
Given a type A, all endomorphisms defined on A are a monoid
isn't it more correct to say:
Given a type A, all endomorphisms defined on A under function composition operation are a monoid
Because semigroups are defined on pair of type A and operation on type A.
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.