软糖

Candy


  • Home

  • Archives

  • Tags

  • Search
close
软糖

fp-ddd chapter 7

Posted on 2020-08-22 |

Domain Modeling Made Functional - Chapter 5

Modeling Workflows as Pipelines

Read more »
软糖

fp-ddd chapter 6

Posted on 2020-08-21 |

Domain Modeling Made Functional - Chapter 5

Integrity and Consistency in the Domain

Read more »
软糖

fp-ddd chapter 5

Posted on 2020-08-21 |

Domain Modeling Made Functional - Chapter 4

Domain Modeling with Types

Read more »
软糖

fp-ddd chapter 4

Posted on 2020-08-16 |

Domain Modeling Made Functional - Chapter 4

Understand F# types

Read more »
软糖

Node Child Process

Posted on 2020-01-10 |

Take note from node-child process More information, read source.

4 ways to create a child process

  • spawn()
  • fork()
  • exec()
  • execFile()
Read more »
软糖

Node Stream

Posted on 2020-01-10 |

Take note from node-stream More information, read source.

Read more »
软糖

Purescript Types

Posted on 2019-12-12 |

Some though about types in purescript

  • data Foo = Foo Int: Foo and Int totally different.
  • newtype Foo = Foo Int: Foo and Int different at compile time but same at runtime.
  • type Foo = Int: Foo and Int same at compile time and runtime.
软糖

Functor

Posted on 2019-11-26 |

Functor

  • Container with somewhere to store values(s)
  • Some way of applying a function to values(s)
  • Must return values(s) in same context

or a shorter explain:

a functor is simply something that can be mapped over

Monid

a monoid is a semigroup with an identity element.

Semigroup

A semigroup is an algebraic structure with a binary operation that satisfies the associativity law.

In PureScript, the binary operation for a semigroup that satisfies the associative property is called append, whose infix operator is <>

monoid

Identity: whenever we append one or more elements to it, we get back those elements

In PureScript, mempty (monoid empty) to reference the identity element of a monoid.

软糖

Purescript Note

Posted on 2019-11-02 |

Notebook for PureScript by Example
https://leanpub.com/purescript/read#leanpub-auto-functions-and-records

Read more »
软糖

Elastic Search Step by Step 2

Posted on 2019-05-31 |

Searching with elasticsearch

This section will focus on query

Read more »
12…6
Steven Zhang

Steven Zhang

Java, Haskell and Architecture

57 posts
23 tags
GitHub
© 2016 - 2020 Steven Zhang
Powered by Hexo
Theme - NexT.Mist