IT

 

 

 

 

 

 

 






 







 


 

 

 

 

 

 

 

 






 







 


 

 

 

 

 

 

 






 







 


 

 

 

 

 

 

 






 







 


 

 

 

 

 

 

 

 

 

 

 

 

 

 






 







 


 

 

 

 

 

 

 

 

 

 






 







 


IT

 

 

AI  

 

 






 







 


 

 

 

 

 

 

 






 







 


 

 

 

 

 

 

 

 






 







 


 

Web  

 

 

PlayStation  

 

YouTuber  

 





 

 





 

 

 












jaspervdj - Lazy Sort: Counting Comparisons  

5users  
jaspervdj.be  


How good is Haskell's lazy sort actually? Published on September 17, 2020 under the tag haskell Haskells laziness allows you to do many cool things. Ive talked about searching an infinite graph before. Another commonly mentioned example is finding the smallest N items in a list. Because programmers are lazy as well, this is often defined as: This happens regardless of the language of choice if w




 

2020/09/20 10:33
 







 

















jaspervdj - Visual Arrow Syntax

5users  
jaspervdj.be  


Finally, better Arrow syntax, completely free of hacks Published on March 12, 2020 under the tag haskell Not to be taken seriously. Haskell is great building at DSLs  which are perhaps the ultimate form of slacking off at work. Rather than actually doing the work your manager tells you to, you can build DSLs to delegate this back to your manager so you can focus on finally writing up that GHC pro




 

2020/03/13 22:36
 







 











jaspervdj - Haskell Design Patterns: The Handle Pattern  

9users  
jaspervdj.be  


A neat and simple way to build services in Haskell Published on March 8, 2018 under the tag haskell Introduction Id like to talk about a design pattern in Haskell that Ive been calling the Handle pattern. This is far from novel  Ive mentioned this before and the idea is definitely not mine. As far as I know, in fact, it has been around since basically forever1. Since it is ridiculously close t




 

2018/03/10 10:41
 



 











jaspervdj - Package takeover: indents  

3users  
jaspervdj.be  


A Parsec package to deal with indentation Published on December 22, 2016 under the tag haskell Parsers are one of Haskells indisputable strengths. The most well-known library is probably Parsec. This parser combinator library has been around since at least 2001, but is still widely used today, and it has inspired new generations of general purpose parsing libraries. Parsec makes it really easy to



 

2016/12/23 23:31
 



 











jaspervdj - Tries and elegant Scope Checking  

3users  
jaspervdj.be  


A less frequently discussed part of DSL design Published on October 30, 2015 under the tag haskell Introduction This blogpost is mostly based upon a part of the talk I recently gave at the Haskell eXchange. I discussed scope checking  also referred to as scope analysis or renaming. While the talk focussed on Ludwig, a DSL used to program Fugue, the ideas around scope checking are broadly applicab




 

2015/11/01 19:50
 













jaspervdj - The Prio Applicative  

3users  
jaspervdj.be  


An interesting Applicative which lets us prioritize computations Published on May 26, 2015 under the tag haskell Introduction When writing some code recently, I came across a very interesting Applicative Functor. I wanted to write about it for two reasons: It really shows the power of Applicative (compared to Monad). Applicative does not require access to previously computed results, which helps i




 

2015/05/26 21:12
 













jaspervdj - Can we write a Monoidal Either?  

3users  
jaspervdj.be  


About the problems with clashing Applicative and Monad Published on May 19, 2015 under the tag haskell {-# LANGUAGE GeneralizedNewtypeDeriving #-} import Control.Applicative (Applicative (..)) import Data.Monoid (Monoid, (<>)) Introduction For the last month or, I have been working as a contractor for Luminal. I am helping them implement Fugue, and more specifically Ludwig  a compiler a for stati




 

2015/05/22 11:43
 



 











jaspervdj - Practical testing in Haskell  

3users  
jaspervdj.be  


Testing the LRU Cache from the last post as an example Published on March 13, 2015 under the tag haskell Introduction There has been a theme of Practical Haskell in the last few blogposts I published, and when I published the last one, on how to write an LRU Cache, someone asked me if I could elaborate on how I would test or benchmark such a module. For the sake of brevity, I will constrain myse




 

2015/03/14 00:31
 



 











jaspervdj - Writing an LRU Cache in Haskell  

3users  
jaspervdj.be  


Using psqueues to write simple but fast code Published on February 24, 2015 under the tag haskell Introduction In-memory caches form an important optimisation for modern applications. This is one area where people often tend to write their own implementation (though usually based on an existing idea). The reason for this is mostly that having a one-size-fits all cache is really hard, and people of




 

2015/02/25 02:51
 



 











jaspervdj - Image Processing with Comonads  

7users  
jaspervdj.be  


A simple real-world example showing an image-processing Comonad Published on November 27, 2014 under the tag haskell Introduction A Comonad is a structure from category theory dual to Monad. Comonads are well-suited for image processing  Pretty much everyone on the internet Whenever Comonads come up, people usually mention the canonical example of evaluating cellular automata. Because many image




 

2014/11/28 09:42
 





 











jaspervdj - Profiteur: a visualiser for Haskell GHC .prof files  

8users  
jaspervdj.be  


A nicer way to browse big profile files Published on February 25, 2014 under the tag haskell Introduction GHC comes with some amazing tools to do profiling of Haskell programs. In .prof files, you can see exactly in which function most time is spent and where most allocation is done. However, at Erudify, we have a huge amount of Haskell code  and at this point .prof files can become very unwieldy




 

2014/02/26 04:05
 





 











Lorem Markdownum  

7users  
jaspervdj.be  


Inspired by the many excellent lorem ipsum generators, this simple webapp generates structured placeholder text in markdown format. In order to do so, it uses Markov Chains and many heuristics. Written in Haskell by Jasper Van der Jeugt. The source code is on GitHub and an HTTP API is also available! No headers No code snippets No inline markup No blockquotes No lists No external links No wrapping




 

2013/11/12 01:56
 



 











jaspervdj - Monads and Arrows: modelling a build system  

4users  
jaspervdj.be  


An success story of Arrows Published on January 14, 2012 under the tag haskell This is a recap of an older blogpost of mine. I decided to rewrite it after I wanted to refer a friend to it, and I saw the blogpost clearly failed a bit in getting the point across. In this blogpost, I hope to correct that. Its about a situation in which Monads fall short, but Arrows (and Applicative) prove to be very




 

2012/01/15 06:17
 



 











jaspervdj - Type-safe events  

4users  
jaspervdj.be  


Type-safe event-based programming in Haskell Published on October 16, 2011 under the tag haskell This is some code I wrote a while ago. It is (mostly) based upon Data Types a la Carte, a great pearl by Wouter Swierstra. It uses some ideas discussed in this paper to create a type-safe, extensible event-based framework in Haskell. This blogpost is written in Literate Haskell, meaning you should be a




 

2011/10/17 07:38
 



 











Hakyll - Home  

4users  
jaspervdj.be  


Overview Static sites are fast, secure, easy to deploy, and manageable using version control. Hakyll is a Haskell library for generating static sites, mostly aimed at small-to-medium sites and personal blogs. It is written in a very configurable way and uses an xmonad-like DSL for configuration. Integration with pandoc gives us markdown and TeX support, including syntax highlighting and other good




 

2010/04/01 19:45
 













Hakyll - Home  

40users  
jaspervdj.be  


Overview Static sites are fast, secure, easy to deploy, and manageable using version control. Hakyll is a Haskell library for generating static sites, mostly aimed at small-to-medium sites and personal blogs. It is written in a very configurable way and uses an xmonad-like DSL for configuration. Integration with pandoc gives us markdown and TeX support, including syntax highlighting and other good



 

2010/01/11 20:42
 



















 



































 

jaspervdj.be  

 



j

k

l

e

o
 
 
















 









 

















 









 









 







Pro



 




 






App Storeからダウンロード
Google Playで手に入れよう


Copyright © 2005-2024 Hatena. All Rights Reserved.
 





x