Skip to content

Instantly share code, notes, and snippets.

View maikf's full-sized avatar

Maik 'mxf' Fischer maikf

View GitHub Profile
@maikf
maikf / prismatic.hs
Created June 8, 2018 15:21 — forked from parsonsmatt/prismatic.hs
I figured out a nice way to pluck exceptions out of a constraint!
{-# LANGUAGE ConstraintKinds #-}
{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE FlexibleContexts #-}
{-# LANGUAGE FlexibleInstances #-}
{-# LANGUAGE MultiParamTypeClasses #-}
{-# LANGUAGE PartialTypeSignatures #-}
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE TypeApplications #-}
{-# LANGUAGE TypeFamilies #-}
@maikf
maikf / init.el
Last active October 25, 2017 14:06
minimal Emacs config for HIE
(require 'package)
(add-to-list 'package-archives '("melpa" . "http://melpa.org/packages/"))
(package-initialize)
(or (file-exists-p package-user-dir)
(package-refresh-contents))
(setq package-selected-packages '(haskell-mode flycheck))
(package-install-selected-packages)