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
{-# LANGUAGE FlexibleInstances | |
, NoImplicitPrelude | |
, PackageImports | |
, ScopedTypeVariables | |
, TypeSynonymInstances | |
, UnicodeSyntax | |
#-} | |
module Numeric.Units.Dimensional.TF.Parser | |
( PrefixItem |
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
{-# LANGUAGE FlexibleContexts | |
, NoImplicitPrelude | |
, PackageImports | |
, UnicodeSyntax | |
#-} | |
module Numeric.Units.Dimensional.TF.Parser.Unit | |
( UnitExp(..) | |
, parseUnitExp | |
) where |
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
{-# LANGUAGE NamedFieldPuns #-} | |
{-# LANGUAGE NoImplicitPrelude #-} | |
{-# LANGUAGE PackageImports #-} | |
{-# LANGUAGE UnicodeSyntax #-} | |
module BoundsMonitor where | |
import "base" Control.Monad ( return ) | |
import "base" Control.Concurrent.MVar ( MVar, newMVar, modifyMVar, modifyMVar_ ) | |
import "base" Data.Bool ( Bool(False, True) ) |
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
{-# LANGUAGE DataKinds #-} | |
{-# LANGUAGE PolyKinds #-} | |
{-# LANGUAGE ScopedTypeVariables #-} | |
{-# LANGUAGE TypeFamilies #-} | |
{-# LANGUAGE TypeOperators #-} | |
{-# LANGUAGE UndecidableInstances #-} | |
module Nub where | |
import Data.Proxy | |
import Data.Type.Bool |