Skip to content

Instantly share code, notes, and snippets.

@ygale
ygale / keybase.md
Created March 2, 2020 14:56
keybase.md

Keybase proof

I hereby claim:

  • I am ygale on github.
  • I am ygale (https://keybase.io/ygale) on keybase.
  • I have a public key ASCss21HWYyLCSA0fuqaZsMHhVSNhHomR7wvFYwwpKbujgo

To claim this, I am signing this object:

@ygale
ygale / ManyConstructors.hs
Created February 27, 2018 13:13
Non-reproduction of Yesod bug 1487
This file has been truncated, but you can view the full file.
{-# LANGUAGE MultiParamTypeClasses #-}
module ManyConstructors where
import Data.Maybe (fromMaybe)
type Lang = String
class RenderMessage master msg where
renderMessage :: master -> [Lang] -> msg -> String
% Author: Martin Heuschober
% License: CC-BY-4.0
% see https://creativecommons.org/licenses/by/4.0/
\documentclass{article}
\usepackage[paperwidth=55cm
,paperheight=45cm
,left=1cm
,right=1cm
,top=1cm
@ygale
ygale / log
Created May 28, 2014 17:16
platform.sh output for #99
***
*** Running hptool
***
# rm (for build/.markers/rel/build/ghc-bindist/local)
# tar (for build/.markers/rel/build/ghc-bindist/local)
# configure (for build/.markers/rel/build/ghc-bindist/local)
checking for path to top of build tree... /home/abba/haskell/haskell-platform/build/ghc-bindist/ghc-7.8.2
Build platform inferred as: x86_64-unknown-linux
Host platform inferred as: x86_64-unknown-linux
Target platform inferred as: x86_64-unknown-linux
@ygale
ygale / gist:4708204
Created February 4, 2013 17:34
haskell-platform 2012.4.0.0 FTB on 10.8.2
yitzg$ HOMEBREW_MAKE_JOBS=1 VERBOSE=1 brew install haskell-platform
==> Installing haskell-platform dependency: ghc
==> Downloading http://www.haskell.org/ghc/dist/7.4.2/ghc-7.4.2-src.tar.bz2
Already downloaded: /Users/yitzg/Library/Caches/Homebrew/ghc-7.4.2.tar.bz2
/usr/bin/tar xf /Users/yitzg/Library/Caches/Homebrew/ghc-7.4.2.tar.bz2
==> Downloading patches
/usr/bin/curl -f#LA Homebrew 0.9.4 (Ruby 1.8.7-358; Mac OS X 10.8.2) http://hackage.haskell.org/trac/ghc/raw-attachment/ticket/7040/ghc7040.patch -o 000-homebrew.diff
######################################################################## 100.0%
==> Patching
/usr/bin/patch -f -p1 -i 000-homebrew.diff