This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{-# OPTIONS -Wall #-} | |
{-# LANGUAGE GADTs, DataKinds, TemplateHaskell, KindSignatures, | |
MultiParamTypeClasses, RankNTypes, PolyKinds, FlexibleContexts, | |
TypeFamilies, UndecidableInstances, FlexibleInstances #-} | |
module Effects where | |
import Data.Singletons |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{-# OPTIONS -Wall #-} | |
{-# LANGUAGE GADTs, DataKinds, KindSignatures, RankNTypes, | |
FlexibleInstances, PolyKinds, ScopedTypeVariables #-} | |
module Utils where | |
import Data.Int | |
import Foreign.Ptr | |
import Foreign.Storable |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{-# OPTIONS -Wall #-} | |
module LL (empty, append, index, delete) where | |
import Control.Concurrent.STM | |
data Node a = Node a (LinkedList a) | |
type LinkedList a = TVar (Maybe (Node a)) |
NewerOlder