Skip to content

Instantly share code, notes, and snippets.

View geekingfrog's full-sized avatar
💭
🐸

Grégoire Charvet 黑瓜 geekingfrog

💭
🐸
View GitHub Profile
@i-am-tom
i-am-tom / Main.hs
Last active June 27, 2019 14:07
Using Higgledy to create parser fallbacks.
{-# LANGUAGE BlockArguments #-}
{-# LANGUAGE DeriveFunctor #-}
{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE FlexibleContexts #-}
{-# LANGUAGE MonoLocalBinds #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE TypeApplications #-}
module Main where
import Control.Applicative (Alternative (..))