Neil Mitchell's Blog (Haskell etc)

Tuesday, February 27, 2018

Switching to HTTPS

›
Summary: All my domains are now on HTTPS. In this post I describe how I did it. It's quite clear everyone should be moving their domains...
2 comments:
Sunday, February 18, 2018

Atomic Expressions Generically

›
Summary: For certain hints HLint needs to determine if a Haskell expression is atomic. I wrote a generic method to generate expressions and ...
4 comments:
Sunday, December 17, 2017

Announcing the 'debug' package

›
Haskell is a great language, but debugging Haskell is undoubtedly a weak spot. To help with that problem, I've just released the debug ...
14 comments:
Tuesday, December 12, 2017

Benchmarking strchr vs memchr

›
Summary: memchr is faster, but the obvious implement seems to beat the builtin versions. There are two related C functions for finding the n...
5 comments:
Sunday, November 26, 2017

Haskell exceptions and FFI wrappers

›
Summary: If you create a C function pointer from a Haskell function with "wrapper", and it throws an exception, bad things happen....
2 comments:
Friday, November 10, 2017

Ghcid with VS Code

›
Summary: New versions of Ghcid and the VS Code extension work even better together. I've just released Ghcid v0.6.8 and the associated ...
13 comments:
Saturday, November 04, 2017

Understanding HLint rules

›
Summary: I added a degenerate foldr to map rule in the new version of HLint, here I describe how it works. I've just released HLint 2.0....
4 comments:
Wednesday, September 20, 2017

Shake 0.16 - revised rule definitions

›
Summary: I've just released shake v0.16. A lot has changed, but it's probably only visible if you have defined your own rules or ora...
2 comments:
Sunday, September 17, 2017

Existential Serialisation

›
Summary: Using static pointers you can perform binary serialisation of existentials. Many moons ago I asked how to write a Binary instance...
2 comments:
Sunday, August 20, 2017

Ghcid and VS Code

›
Summary: There's now a Ghcid VS Code addin that gives you red squiggles. I've been using Ghcid for about 3 years, and VS Code for ...
5 comments:
Thursday, July 06, 2017

HaskellX Bytes talk next Tuesday

›
I'm talking about "Static Analysis in Haskell" at HaskellX Bytes next Tuesday (11th July), in London UK. Registration is free...
Tuesday, June 20, 2017

Announcing Weeder: dead export detection

›
Most projects accumulate code over time. To combat that, I've written Weeder which detects unused Haskell exports, allowing dead code t...
7 comments:
Sunday, June 11, 2017

Haskell Website Working Group - Update

›
Summary: We have agreed a set of principles for the website and are collecting information. I'm writing this partly in my capacity as th...
Sunday, May 21, 2017

Proving fib equivalence

›
Summary: Using Idris I proved the exponential and linear time fib functions are equivalent. The Haskell wiki proclaims that Implementing th...
11 comments:
Tuesday, May 16, 2017

Idris reverse proofs

›
Summary: I proved O(n) reverse is equivalent to O(n^2) reverse. Following on from my previous post I left the goal of given two reverse im...
Sunday, May 07, 2017

Proving stuff with Idris

›
Summary: I've been learning Idris to play around with writing simple proofs. It seems pretty cool. The Idris programming language is a ...
Friday, April 28, 2017

HLint on Travis/Appveyor

›
Summary: Running HLint on your CI is now quick and easy. I've always wanted to run HLint on my continuous integration servers (specific...
Thursday, April 06, 2017

HLint 2.0 - with YAML configuration

›
Summary: I've just released HLint 2.0, which lets you configure the rules with a YAML file. I've just released HLint 2.0 to Hackage...
Monday, April 03, 2017

Code Review Reviewed

›
Summary: I used to be mildly against code review on all merges. Now I'm for it. Code review is a good idea for knowledge sharing, not sp...
Friday, December 23, 2016

Fuzz testing Hexml with AFL

›
Summary: Hexml 0.1 could read past the end of the buffer for malformed documents. Fuzz testing detected that and I fixed it in Hexml 0.2. I ...
1 comment:
‹
›
Home
View web version

About Me

My photo
Neil Mitchell
View my complete profile
Powered by Blogger.