最新文章列表

haskell - Monads - ramp up with Monad

Fist we shall answer the question of what is Monad, monad are just beefed up applicative functors, much like applicative functors are only beefed up functors.   so, let's recall monad, and its pred ...
joe.bq.wang 评论(0) 有928人浏览 2013-05-09 22:26

haskell - Functors, Applicative Functors and Monoids - Monoids application

we have introduced monoids before, and in this post, we will continue to examine the usage of monoids, we will continue this post with introduction on the some datascture implemented with monoids, su ...
joe.bq.wang 评论(0) 有847人浏览 2013-05-01 23:00

haskell - Functors, Applicative Functors and Monoids - Monoids introduction

In this post, we will going to examine the monoid, monoids are a typeclass, which has an associative binary function and a value which acts as an identity with respect to that function.    Before w ...
joe.bq.wang 评论(0) 有660人浏览 2013-05-01 22:57

haskell - Functors, Applicative Functors and Monoids - types/newtypes/data

It is because the difference between type/newtype/data always confuses than clearifies people, so it worth to make a dedicated section on their differences.    so most of this chapter will be narrat ...
joe.bq.wang 评论(0) 有907人浏览 2013-05-01 22:53

haskell - Functors, Applicative Functors and Monoids - newtype keyword

so far, we have learnt the data keyword, and we can also learned how to create types synonyms with the type keywrod.   (do not confuse that with the class keyword)   we'll be taking a look at how t ...
joe.bq.wang 评论(0) 有1011人浏览 2013-05-01 22:44

haskell - Functors, Applicative Functors and Monoids - Applicatives

 Applicative is a special form of functor, in our previoius post we have already discussed the functor with ((->) r);    now, we will see the beefed up functor, which is in the Applicator typecl ...
joe.bq.wang 评论(0) 有1060人浏览 2013-04-22 07:24

haskell - Functors, Applicative Functors and Monoids

Functor is the Functors , or functors are essentially haskell. We will introduce something about functors, then we might progress to Applicative Functors.   Newtype keyword and others.    So, the ...
joe.bq.wang 评论(0) 有707人浏览 2013-04-22 07:23

haskell - Functionally solving problems - Heathrow to London

Ensuing to the discussion that we had on the functionally solving problems that we had before. Where we have Reverse Polish notation calculator, we have yet another problem to solve, which is called ...
joe.bq.wang 评论(0) 有913人浏览 2013-04-22 07:20

haskell - Functionally solving problems - Rerverse Polish Notation Caculator

So far we have introduced the basic construct that underpinning the haskell runtime and etc... Now we can come to the point where we leverage the haskell language to functinally solving some problems ...
joe.bq.wang 评论(0) 有805人浏览 2013-04-22 07:12

haskell - Input and Output - exceptions

you might be wondering why the exceptions are in the input and outptu chapter, is there  a fit, actually, the resaons why the haskell appears in the input and output chapter has its own reason.    H ...
joe.bq.wang 评论(0) 有856人浏览 2013-04-22 07:09

haskell - Input and Output - ByteString

we know that we have lists, where we have used extensivly in many a occasion, but we how about we process the files because list is essentailly just a promise of a list, and so on. So you can think of ...
joe.bq.wang 评论(0) 有720人浏览 2013-04-21 22:28

haskell - Input and Output - Randomness

n most other programming languages, you have functions that give you back some random number. Each time you call that function, you get back a (hopefully) different random number. How about Haskell? ...
joe.bq.wang 评论(0) 有680人浏览 2013-04-21 22:05

haskell - Input and Output - Command Line

Command line is pretty all a necessity if you want to make a scritp or application that runs a terminal .    The System.Environment module has two cool I/O actions. One is getArgs, which has a type ...
joe.bq.wang 评论(0) 有623人浏览 2013-04-21 21:02

haskell - Input and Output - Files and Streams

so far what we have dealt with are all functions and streams. now we might get our hand wet dealing with Files and Streams.    what we will discusses in this post includes:     getContent and get ...
joe.bq.wang 评论(0) 有732人浏览 2013-04-21 21:02

haskell - Input and Output - helloworld

We've mentioned that Haskell is a purely functional language. Whereas in imperative languages you usually get things done by giving the computer a series of steps to execute, functional programming i ...
joe.bq.wang 评论(0) 有376人浏览 2013-04-21 21:01

haskell - types and typeclasses - kinds

We have so far examine the types and typeclasses and we can make some types part of the typeclasses, however, we might have find out that some typeclasses expect to pass in a concrete type while some ...
joe.bq.wang 评论(0) 有785人浏览 2013-04-20 09:53

haskell - types and typeclasses - typeclasses

 we've learned about some of the standard Haskell typeclasses and we've seen which types are in them. We've also learned how to automatically make our own types instances of the standard typeclasses ...
joe.bq.wang 评论(0) 有728人浏览 2013-04-20 09:52

haskell - types and typeclasses - Recursive Data Structures

we can make types whose constructors have fields that are of the same type! such as the trees where left child and right child are also a tree.    We are going to inspect one type which representst ...
joe.bq.wang 评论(0) 有750人浏览 2013-04-20 09:51

haskell - types and typeclasses - type synonyms

We know that [Char] and String are equivalent and interchangeable . And this is achieved by the type synonyms.    Type synonyms don't really do anything per se, they're just about giving some types ...
joe.bq.wang 评论(0) 有767人浏览 2013-04-20 09:51

haskell - types and typeclasses - Derived Instances

Now that you have made  your own type and typeclasses. how to make these two associated. As you might have known that a type can be made an instance of a typeclasss if it supports that behavior.  e. ...
joe.bq.wang 评论(0) 有659人浏览 2013-04-20 09:50

最近博客热门TAG

Java(141747) C(73651) C++(68608) SQL(64571) C#(59609) XML(59133) .net(54785) 编程(39454) JSP(37542) 数据结构(36423) Eclipse(31254) PHP(29988) F#(26079) 算法(24867) 脚本(19840) J#(18922) JDBC(17888) ASP(17480) JDK(14881) JVM(14450)

博客人气排行榜

    博客电子书下载排行

      >>浏览更多下载

      相关资讯

      相关讨论

      Global site tag (gtag.js) - Google Analytics