I hereby claim:
- I am abailly on github.
- I am arnaudbailly (https://keybase.io/arnaudbailly) on keybase.
- I have a public key ASAaHgUGHeyZ51vsNSmzovlbDyL-9tU2PzOECjCUdW4NKAo
To claim this, I am signing this object:
| package org.jparsec.examples.dsl; | |
| import org.jparsec.Parser; | |
| import org.jparsec.Parsers; | |
| import org.jparsec.Scanners; | |
| import org.jparsec.Terminals; | |
| import java.util.Arrays; | |
| public class DSL { |
| ||| A proof of the validity of matching algorithm for | |
| ||| regular expressions | |
| ||| | |
| ||| From https://arxiv.org/abs/2003.06458 | |
| module re | |
| %default total | |
| infix 7 .| | |
| infix 6 .. |
| {-# LANGUAGE DeriveDataTypeable, DeriveGeneric, FlexibleContexts, FlexibleInstances, MultiParamTypeClasses, PolyKinds, | |
| ScopedTypeVariables, TypeFamilies, TypeOperators, UndecidableInstances #-} | |
| module Gorilla.Auth.Roles where | |
| import Control.Monad.Trans (liftIO) | |
| import Control.Monad.Trans.Except (runExceptT) | |
| import Data.Proxy (Proxy (Proxy)) | |
| import Data.Typeable (Typeable) | |
| import GHC.Generics (Generic) | |
| import Network.Wai (Request) |
| ||| From Slack ADL: https://artisans-du-logiciel.slack.com/files/UA67NMTA6/FH0UVDUAX/tarif_parking.jpg | |
| ||| Goal is to "embed" the business rules for computing parking durations inside Idris, | |
| ||| computing a pricing expression as the type of a given duration | |
| module Parking | |
| import Data.List | |
| mutual |
| {-# LANGUAGE FlexibleContexts #-} | |
| {-# LANGUAGE FlexibleInstances #-} | |
| {-# LANGUAGE GADTs #-} | |
| {-# LANGUAGE LambdaCase #-} | |
| {-# LANGUAGE MultiParamTypeClasses #-} | |
| {-# LANGUAGE RankNTypes #-} | |
| {-# LANGUAGE ScopedTypeVariables #-} | |
| {-# LANGUAGE TypeApplications #-} | |
| {-| |
| {-# LANGUAGE DataKinds #-} | |
| {-# LANGUAGE FlexibleInstances #-} | |
| {-# LANGUAGE GADTs #-} | |
| {-# LANGUAGE KindSignatures #-} | |
| {-# LANGUAGE MultiParamTypeClasses #-} | |
| {-# LANGUAGE StandaloneDeriving #-} | |
| module Db where | |
| import Data.List (intersperse) |
| {-# LANGUAGE DataKinds #-} | |
| {-# LANGUAGE GADTs #-} | |
| {-# LANGUAGE KindSignatures #-} | |
| {-# LANGUAGE RankNTypes #-} | |
| {-# LANGUAGE TypeFamilies #-} | |
| import Protolude | |
| data Tag = Foo | Bar | |
| data RTag (t :: Tag) where |
| {-# LANGUAGE DataKinds #-} | |
| {-# LANGUAGE GADTs #-} | |
| {-# LANGUAGE OverloadedStrings #-} | |
| {-# LANGUAGE ScopedTypeVariables #-} | |
| {-# LANGUAGE TypeOperators #-} | |
| {-| Sample code struggling with reader Eff | |
| uses code from https://github.com/TaktInc/freer | |
| -} |
| import Control.Monad.Operational | |
| import Data.Dynamic | |
| import Data.Reify | |
| import Protolude | |
| data Prog i a f = Val a | |
| | Step f f |
I hereby claim:
To claim this, I am signing this object: