Skip to content

Instantly share code, notes, and snippets.

wrecking havoc

Matthieu Coudron teto

wrecking havoc
  • /nix/store/candies
View GitHub Profile
View gist:e563379e15cda6ae6ebd2990521324ce
hi graham this is teto - 41e95962-4059-4119-b6a9-7cf06d6ded13
teto / string-conversions.hs
Created Oct 21, 2020 — forked from dino-/string-conversions.hs
A handy illustration of converting between String, Text and ByteString in Haskell
View string-conversions.hs
#! /usr/bin/env stack
-- stack --resolver lts-12.14 script
{-# LANGUAGE OverloadedStrings #-}
This is a handy illustration of converting between five of the commonly-used
string types in Haskell (String, ByteString, lazy ByteString, Text and lazy