Category Archives: Development

Learn how to count in any numbering system

In this blog post, I will teach you how to count in any numbering system. I have also created a program that counts in any numbering system and I will show you this program in the second part of this … Continue reading

Posted in Development

Individual bit manipulation techniques in assembly

The unit of information is the bit. It takes only one binary digit, either the value 0 or the value 1. A byte is comprised of 8 bits. People created the byte as an ordered set of 8 bits. And … Continue reading

Posted in Development

The most important facts about code reuse

Code reuse can happen in two levels, one simple and one advanced. At the simple level, you create a function and you use that function instead of copying and pasting. At the advanced level, in OOP you use inheritance, whereas … Continue reading

Posted in Development

Arrow talk

On the Stack Overflow site, I found a great question titled Monads vs. Arrows. Essentially the OP (original poster) asks: “… When should I use monads and when should I use arrows?”. I answered the question and since I believe … Continue reading

Posted in Development

Cheat sheet for Monads in Haskell

Let M be a Type Constructor, Functor, and Monad. As a Type Constructor, M can map a type a to the type M a. As a Functor, M can also map a function f to the function M f, using … Continue reading

Posted in Development

The most significant FAQs about Haskell

Question: Function application and composition versus bind (>>=) Answer: For the following discussion, a, b, and c are built in Haskell data types. We use normal function composition when we compose a function a -> b with a function b … Continue reading

Posted in Development

The examples in the Parsec users guide

Parsec is a free, industrial strength, monadic parser combinator library for Haskell, by Daan Leijen. You can find the users guide in the Parsec documentation. In this blog post, I am going to list the examples that Daan Leijen includes … Continue reading

Posted in Development