code stringlengths 5 1.03M | repo_name stringlengths 5 90 | path stringlengths 4 158 | license stringclasses 15
values | size int64 5 1.03M | n_ast_errors int64 0 53.9k | ast_max_depth int64 2 4.17k | n_whitespaces int64 0 365k | n_ast_nodes int64 3 317k | n_ast_terminals int64 1 171k | n_ast_nonterminals int64 1 146k | loc int64 -1 37.3k | cycloplexity int64 -1 1.31k |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
{-# LANGUAGE MultiParamTypeClasses, FlexibleInstances, BangPatterns,
PatternGuards #-}
{-# OPTIONS_GHC -fwarn-incomplete-patterns #-}
module Idris.Core.Evaluate(normalise, normaliseTrace, normaliseC, normaliseAll, toValue, quoteTerm,
rt_simplify, simplify, specialise, hnf, convEq, convEq',... | ExNexu/Idris-dev | src/Idris/Core/Evaluate.hs | bsd-3-clause | 47,973 | 0 | 28 | 17,899 | 16,924 | 8,627 | 8,297 | 860 | 80 |
{-# LANGUAGE ForeignFunctionInterface #-}
module TestStub019 where
foreign export ccall f :: Int -> Int
f :: Int -> Int
f n = n + 1
| ghc-android/ghc | testsuite/tests/driver/F019.hs | bsd-3-clause | 132 | 0 | 6 | 26 | 40 | 23 | 17 | 5 | 1 |
{-# LANGUAGE ScopedTypeVariables #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# OPTIONS_GHC -funbox-strict-fields #-}
module Worklist where
import Control.Monad.Trans.State.Strict
import Data.Map (Map)
import qualified Data.Map as Map
import Data.Set (Set)
import qualified Data.Set as Set
import Data.Maybe (fromM... | sgraf812/worklist | src/Worklist.hs | isc | 6,756 | 0 | 19 | 1,323 | 2,195 | 1,113 | 1,082 | 157 | 3 |
module Helpers (eiFilter, eiMap, numberToDigits) where
eiFilter :: (a -> Bool) -> [a] -> [Either a a]
eiFilter f xs = map (conditional f) xs
where
conditional f x
| f x = Right x
| otherwise = Left x
eiMap :: (a -> c) -> (b -> d) -> [Either a b] -> [Either c d]
eiMap _ _ [] = []
eiMap fL fR (x... | kindaro/cis194 | src/Helpers.hs | isc | 504 | 0 | 10 | 144 | 277 | 141 | 136 | 13 | 2 |
module Algebra.Vector where
import Control.Exception.Base
import Data.List as List
import qualified Data.List.Extensions as ListExt
import qualified Data.Map as Map
import Data.Ratio as Ratio
import Data.Ratio.Extensions as RatioExt
import Data.Tuple.Extensions as TupleExt
import Prelude.Extensions as PreludeExt
typ... | stevedonnelly/haskell | code/Algebra/Vector.hs | mit | 2,770 | 0 | 17 | 488 | 1,252 | 707 | 545 | 62 | 1 |
module Rebase.GHC.STRef
(
module GHC.STRef
)
where
import GHC.STRef
| nikita-volkov/rebase | library/Rebase/GHC/STRef.hs | mit | 71 | 0 | 5 | 12 | 20 | 13 | 7 | 4 | 0 |
{-# htermination readsPrec :: Int -> String -> [(Bool,String)] #-}
| ComputationWithBoundedResources/ara-inference | doc/tpdb_trs/Haskell/full_haskell/Prelude_readsPrec_8.hs | mit | 67 | 0 | 2 | 10 | 3 | 2 | 1 | 1 | 0 |
{-
GCBackend: Flounder stub generator for generic code
Part of Flounder: a message passing IDL for Barrelfish
Copyright (c) 2007-2010, ETH Zurich.
All rights reserved.
This file is distributed under the terms in the attached LICENSE file.
If you do not find this file, copies can be found by wri... | joe9/barrelfish | tools/flounder/GCBackend.hs | mit | 16,534 | 6 | 18 | 5,388 | 4,301 | 2,275 | 2,026 | 268 | 2 |
{-# htermination addToFM_C :: (b -> b -> b) -> FiniteMap (Ratio Int) b -> (Ratio Int) -> b -> FiniteMap (Ratio Int) b #-}
import FiniteMap
| ComputationWithBoundedResources/ara-inference | doc/tpdb_trs/Haskell/full_haskell/FiniteMap_addToFM_C_7.hs | mit | 139 | 0 | 3 | 27 | 5 | 3 | 2 | 1 | 0 |
module CLaSH.DepCore.Type where
import Bound (Scope (..))
import Bound.Name (Name, name, instantiate1Name)
import Control.Comonad (extract)
import CLaSH.DepCore.Environment (Env (..), declarePat, extendEnv)
import CLaSH.DepCore.Term (Alt (..), Binder (..), FastStrin... | christiaanb/NewCore | src/CLaSH/DepCore/Type.hs | mit | 2,564 | 0 | 14 | 942 | 1,004 | 511 | 493 | -1 | -1 |
-----------------------------------------------------------------------------
-- |
-- Module : Data.Types
-- License : MIT (see the LICENSE file)
-- Maintainer : Felix Klein (klein@react.uni-saarland.de)
--
-- Types of the different expressions, semantics and targets.
--
-----------------------------------... | reactive-systems/syfco | src/lib/Data/Types.hs | mit | 4,749 | 0 | 12 | 1,064 | 765 | 432 | 333 | 102 | 0 |
{-# LANGUAGE DisambiguateRecordFields #-}
{-# LANGUAGE RecordWildCards #-}
module Config where
import Data.Colour
data Config = Config {
dhdx :: Double,
dhdy :: Double,
saturation :: Double,
value :: Double,
style :: Style
}
data Style = Normal
... | lesguillemets/holcat | src/Config.hs | mit | 1,387 | 0 | 11 | 354 | 468 | 256 | 212 | 38 | 1 |
{-# LANGUAGE LambdaCase #-}
data Exp a
= Lam a (Exp a)
| Var a
| App (Exp a) (Exp a)
example :: Exp a -> a
example = \case
Lam a b -> a
Var a -> a
App a b -> example a
main = return ()
| riwsky/wiwinwlh | src/lambdacase.hs | mit | 202 | 0 | 8 | 66 | 107 | 54 | 53 | 11 | 3 |
{-# LANGUAGE InstanceSigs #-}
module FunctionApplicative where
import Control.Applicative (liftA2)
newtype HumanName =
HumanName String
deriving (Eq, Show)
newtype DogName =
DogName String
deriving (Eq, Show)
newtype Address =
Address String
deriving (Eq, Show)
data Person =
Person {
... | NickAger/LearningHaskell | HaskellProgrammingFromFirstPrinciples/Chapter22.hsproj/FunctionApplicative.hs | mit | 1,777 | 0 | 10 | 494 | 634 | 340 | 294 | 55 | 1 |
--------------------------------------------------------------------------------
-- Lattice paths
-- Problem 15
-- Starting in the top left corner of a 2×2 grid, and only being able to move
-- to the right and down, there are exactly 6 routes to the bottom right corner.
-- How many such routes are there through a 20×... | bertdouglas/euler-haskell | 001-050/15a.hs | mit | 694 | 0 | 8 | 106 | 61 | 34 | 27 | 5 | 1 |
{-# LANGUAGE TypeOperators, GADTs #-}
-- | Some basic type definitions and re-exporting universally used
-- libraries.
module Core.Types
( Row, Col
, (:->)
, (:~>), unsafeWeakLens, weak, (<#)
, Dir4 (..)
, Dir8 (..)
, move4, opposite4, manhattan, clock, anticlock, direction
, (?)
, ix, ixD
-- * Funct... | jameshsmith/HRL | Server/Core/Types.hs | mit | 6,771 | 0 | 10 | 1,573 | 1,712 | 967 | 745 | -1 | -1 |
module Y2016.M09.D14.Exercise where
import Data.Map (Map)
{--
This problem is from Master's Varity Puzzles from PennyPress, page 33.
Today we'll do a little domino arithmetic.
A domino tile is a tile with the playing side divided in half with each half
marked with zero up to 6 (inclusive) marks
https://en.wikipedi... | geophf/1HaskellADay | exercises/HAD/Y2016/M09/D14/Exercise.hs | mit | 1,496 | 0 | 7 | 335 | 109 | 69 | 40 | 7 | 1 |
{-# LANGUAGE NamedFieldPuns #-}
module Hickory.Utils.Projection where
import Hickory.Math.Matrix
import Hickory.Math.VectorMatrix
import Hickory.Types
import Hickory.Math.Vector
import Control.Lens ((^.))
import Linear (V2, V3(..), _xy, zero)
unproject :: Mat44 -> Size Int -> Scalar -> V2 Scalar -> V2 Scalar
unproje... | asivitz/Hickory | Hickory/Utils/Projection.hs | mit | 787 | 0 | 9 | 127 | 250 | 132 | 118 | 14 | 1 |
module Audit where
import Data.Char
import Test.QuickCheck
type Audit a = (a,String)
-- Given a function, debug produces a function logging information
-- about the computed value for each argument
debug :: (Show a, Show b) => (a -> b) -> (a -> Audit b)
debug f x = (y, show x ++ " |-> " ++ show y ++ "; ")
where
... | PavelClaudiuStefan/FMI | An_3_Semestru_1/ProgramareDeclarativa/Extra/Laborator/Laborator 9/Audit.hs | cc0-1.0 | 1,241 | 0 | 9 | 283 | 393 | 214 | 179 | 23 | 1 |
module Test where
import Probability
model = do
xs <- iid 10 (categorical [0.1, 0.2, 0.3, 0.4])
return ["xs" %=% xs]
main = do
mcmc model
| bredelings/BAli-Phy | tests/prob_prog/categorical/sample.hs | gpl-2.0 | 161 | 0 | 11 | 49 | 66 | 35 | 31 | 7 | 1 |
import qualified Data.Map as Map
import Data.List (group, sort)
import Control.Arrow
import Data.Maybe
-- 26
combinations _ [] = []
combinations n al@(x: xs)
| n >= length al = [al]
| n == 1 = map (: []) al
| otherwise = combinations n xs ++ map (\a -> x: a) (combinations (n - 1) xs)
test26 = do print $ co... | liuyang1/H99 | 20.hs | gpl-2.0 | 934 | 0 | 12 | 206 | 526 | 276 | 250 | 25 | 1 |
module Block
( defaultBlockHeight
, defaultBlockLength
, defaultBlockWidth
, blockHeight
, blockColor
, blockType
, blockVertices
, blockIndices
, blockNormals
, renderBlock
) where
import Control.Applicative
import Data.Monoid
import Control.Lens
import Control.Wire.Core
im... | felixsch/drivingthesky | src/Block.hs | gpl-2.0 | 2,504 | 0 | 10 | 734 | 878 | 465 | 413 | 83 | 1 |
module Player where
import Utils
-- Hard Reset Player informations
hardResetPlayer :: (Int, Position)
hardResetPlayer = (3, (190, 727)) | joeyinbox/space-invaders-haskell | src/Player.hs | gpl-2.0 | 138 | 0 | 6 | 21 | 36 | 24 | 12 | 4 | 1 |
{-# LANGUAGE CPP #-}
module Portage.Dependency.Print
(
dep2str
, dep2str_noindent
) where
import Portage.Version
import Portage.Use
import Portage.PackageId
import qualified Distribution.Pretty as DP (Pretty(..))
import qualified Text.PrettyPrint as Disp
import Text.PrettyPrint ( vcat, nest, render )
impo... | gentoo-haskell/hackport | Portage/Dependency/Print.hs | gpl-3.0 | 3,576 | 0 | 16 | 877 | 1,202 | 600 | 602 | 64 | 5 |
{-
This source file is a part of the noisefunge programming environment.
Copyright (C) 2015 Rev. Johnny Healey <rev.null@gmail.com>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation... | revnull/noisefunge | src/Language/NoiseFunge/Beat.hs | gpl-3.0 | 1,825 | 0 | 9 | 516 | 409 | 222 | 187 | 48 | 2 |
{-# LANGUAGE PatternSynonyms #-}
{-|
Module : Accents
Description : Accents
Copyright : (c) Frédéric BISSON, 2015
License : GPL-3
Maintainer : zigazou@free.fr
Stability : experimental
Portability : POSIX
Accents
-}
module Minitel.Constants.Accents where
import qualified Minitel.Constants.C0 as C0
import... | Zigazou/HaMinitel | src/Minitel/Constants/Accents.hs | gpl-3.0 | 864 | 0 | 7 | 185 | 214 | 109 | 105 | 17 | 0 |
{- scan
Gregory W. Schwartz
Executes the SCAN algorithm to cluster a list of records
http://research.google.com/pubs/pub36940.html
-}
{-# LANGUAGE BangPatterns #-}
{-# LANGUAGE QuasiQuotes #-}
module Main where
-- Standard
import Data.Maybe
import qualified Data.Map as Map
import qualified Data.Vector as V
import C... | GregorySchwartz/scan | app/Main.hs | gpl-3.0 | 4,741 | 0 | 20 | 1,916 | 1,035 | 540 | 495 | 106 | 5 |
{-# LANGUAGE DataKinds #-}
{-# LANGUAGE DeriveDataTypeable #-}
{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE FlexibleInstances #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE TypeFamilies #-}
{-# LANGUAGE TypeOperators ... | brendanhay/gogol | gogol-compute/gen/Network/Google/Resource/Compute/RegionTargetHTTPProxies/Get.hs | mpl-2.0 | 4,464 | 0 | 16 | 972 | 468 | 280 | 188 | 82 | 1 |
module IsPalindrome where
isPalindrome :: String -> Bool
isPalindrome s = reverse s == s | thewoolleyman/haskellbook | 04/09/chad/IsPalindrome.hs | unlicense | 89 | 0 | 6 | 15 | 28 | 15 | 13 | 3 | 1 |
take 2 [1, 3, 5, 7, 9]
| kujua/erlang-elixir-imperative-bookcompanion | code examples/example-14-24.hs | apache-2.0 | 23 | 0 | 6 | 7 | 24 | 13 | 11 | -1 | -1 |
-- Copyright 2014 (c) Diego Souza <dsouza@c0d3.xxx>
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http://www.apache.org/licenses/LICENSE-2.0
--
-- Unless required by applicabl... | locaweb/leela | src/warpdrive/src/Leela/HZMQ/ZHelpers.hs | apache-2.0 | 1,853 | 0 | 9 | 395 | 559 | 283 | 276 | 40 | 2 |
{-# LANGUAGE OverloadedStrings, CPP #-}
import CabalMeta
import OmniConfig
import Shelly
import Paths_cabal_meta
import qualified Data.Text as T
import Control.Monad (forM_)
import Data.Maybe (isNothing, isJust)
import Data.Text (Text)
import Data.Version (showVersion)
import Prelude hiding (FilePath)
headDef :: a -... | yesodweb/cabal-meta | main.hs | bsd-2-clause | 2,832 | 0 | 18 | 633 | 818 | 404 | 414 | 76 | 4 |
module Main where
import Data.Range.Range
import Lib
import Text.Megaparsec
import Text.Megaparsec.String
main = do contents <- readFile "input.txt"
let rs = parseLines range contents
print $ head $ difference [fullrange] rs
print $ length $ differe... | shapr/adventofcode2016 | src/Twenty/Main.hs | bsd-3-clause | 527 | 0 | 10 | 182 | 154 | 76 | 78 | 15 | 1 |
{-# LANGUAGE FlexibleContexts #-}
{-# LANGUAGE UndecidableInstances #-}
module PersistKeyInstances where
import Database.Persist.Postgresql
import Servant
import Data.Text (pack)
import Data.Text.Read (Reader, decimal)
instance ToBackendKey SqlBackend a => FromText (Key a) where
fromText = either (\ _ -> Nothing) ... | hectorhon/autotrace2 | src/PersistKeyInstances.hs | bsd-3-clause | 498 | 0 | 11 | 87 | 144 | 80 | 64 | 12 | 0 |
--------------------------------------------------------------------------------
-- |
-- Module : Graphics.Rendering.OpenGL.Raw.ARB.TransformFeedbackInstanced
-- Copyright : (c) Sven Panne 2015
-- License : BSD3
--
-- Maintainer : Sven Panne <svenpanne@gmail.com>
-- Stability : stable
-- Portability ... | phaazon/OpenGLRaw | src/Graphics/Rendering/OpenGL/Raw/ARB/TransformFeedbackInstanced.hs | bsd-3-clause | 768 | 0 | 4 | 81 | 40 | 33 | 7 | 4 | 0 |
{-# LANGUAGE DataKinds #-}
{-# LANGUAGE EmptyDataDecls #-}
module Astro.Orbit.Types where
import Numeric.Units.Dimensional.Prelude
import qualified Prelude
-- Parameters.
newtype SemiMajorAxis a = SMA { sma :: Length a } deriving (Show, Eq, Ord)
newtype SemiLatusRectum a = SLR { slr :: Length a } deriving (Show, Eq... | bjornbm/astro | src/Astro/Orbit/Types.hs | bsd-3-clause | 1,158 | 0 | 9 | 298 | 237 | 149 | 88 | -1 | -1 |
-- Copyright (c) 2016-present, Facebook, Inc.
-- All rights reserved.
--
-- This source code is licensed under the BSD-style license found in the
-- LICENSE file in the root directory of this source tree.
{-# LANGUAGE GADTs #-}
{-# LANGUAGE NoRebindableSyntax #-}
{-# LANGUAGE OverloadedStrings #-}
module Duckling.Ti... | facebookincubator/duckling | Duckling/Time/EN/AU/Rules.hs | bsd-3-clause | 6,034 | 0 | 19 | 1,354 | 1,441 | 794 | 647 | 125 | 2 |
module Bench.BigTerms where
import qualified Bench.LocallyNameless as LN
import qualified Bench.DeBruijn as DB
import Untyped
{-
We define three forms of "big terms" parameterized by a natural number N:
Exponential terms:
\f:(a -> a) -> ((a -> a) -> a). \g:(a -> ... -> a -> a). EXP N []
where
EXP 0 [x... | eddywestbrook/hobbits | archival/Bench/BigTerms.hs | bsd-3-clause | 4,391 | 0 | 16 | 1,426 | 1,024 | 525 | 499 | 33 | 2 |
-- |
-- Copyright : (c) 2011 Simon Meier
-- License : BSD3-style (see LICENSE)
--
-- Maintainer : Simon Meier <iridcode@gmail.com>
-- Stability : experimental
-- Portability : tested on GHC only
--
-- Hexadecimal encoding of nibbles (4-bit) and octets (8-bit) as ASCII
-- characters.
--
-- The current implemen... | meiersi/system-io-write | src/Codec/Bounded/Encoding/Internal/Base16.hs | bsd-3-clause | 3,310 | 0 | 12 | 552 | 565 | 321 | 244 | 46 | 1 |
{-# LANGUAGE FlexibleInstances #-}
{-# LANGUAGE OverlappingInstances #-}
-- only export instances
module Web.Leo.Pretty() where
import Web.Leo.Types
import Data.List
import qualified Text.PrettyPrint.ANSI.Leijen as P
import qualified Text.PrettyPrint.Boxes as B
instance P.Pretty Language where
pretty De = ... | krgn/leo | src/Web/Leo/Pretty.hs | bsd-3-clause | 2,518 | 0 | 12 | 628 | 970 | 513 | 457 | 55 | 1 |
{-# LANGUAGE BangPatterns #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE FlexibleContexts #-}
{-# LANGUAGE TypeFamilies #-}
{-# OPTIONS_GHC -w #-}
module Main where
import Mellow
import Vision.Image as I
import qualified Vision.Image.Filter.Internal as I
import Vision.Primitive
import Control.Concurrent
im... | TomMD/mellow | examples/Psychedelic.hs | bsd-3-clause | 11,545 | 0 | 18 | 3,275 | 3,195 | 1,701 | 1,494 | 190 | 4 |
{- | all datatypes for the algebraic trees and transformation
the backstage stuff -}
module Polynomial (
-- * Classes
Rev (reverse),
-- * Types
Sort ( C2N,
N2C),
Polynomial (Poly),
-- * Functions
eval,
scalePoly,
norm1,
norm2,
snorm
)
where
import Pre... | epsilonhalbe/Algebra-Alchemy | Polynomial.hs | bsd-3-clause | 3,894 | 0 | 12 | 1,215 | 1,599 | 820 | 779 | 80 | 2 |
{-# LANGUAGE TemplateHaskell #-}
module Data.Db where
import Database.Persist.TH
import Data.Type
derivePersistField "Type"
| showpoint/refs | src/Data/Db.hs | bsd-3-clause | 131 | 0 | 5 | 20 | 24 | 14 | 10 | 5 | 0 |
module GPipeFPSRender where
import Control.Monad
import Data.List
import Data.Trie (Trie)
import Data.Vec.LinAlg.Transform3D
import Data.Vec.Nat
import Foreign
import Graphics.GPipe
import System.Directory
import System.FilePath.Posix
import qualified Data.ByteString.Char8 as SB
import qualified Data.Trie as T
import ... | csabahruska/GFXDemo | GPipeFPSRender.hs | bsd-3-clause | 12,288 | 0 | 20 | 2,827 | 4,450 | 2,294 | 2,156 | 196 | 9 |
{-# LANGUAGE OverloadedStrings #-}
module AWS.Types where
| IanConnolly/aws-sdk-fork | AWS/Types.hs | bsd-3-clause | 59 | 0 | 3 | 8 | 7 | 5 | 2 | 2 | 0 |
{-# LANGUAGE LambdaCase, RecordWildCards, TupleSections,
NoMonomorphismRestriction #-}
module Mote.Suggest where
import Control.Applicative
import Control.Monad
import Control.Monad.Error
import Data.Function (on)
import qualified Data.List as List
i... | imeckler/mote | Mote/Suggest.hs | bsd-3-clause | 5,158 | 0 | 25 | 1,411 | 1,382 | 728 | 654 | 102 | 8 |
{-# LANGUAGE ForeignFunctionInterface #-}
-- |
-- Module : System.Crypto.Random
-- Copyright : (c) Austin Seipp 2011-2013
-- License : BSD3
--
-- Maintainer : aseipp@pobox.com
-- Stability : experimental
-- Portability : portable
--
-- Cross-platform access to cryptographically sure randomness. Use
-- 'ra... | thoughtpolice/hs-nacl | src/System/Crypto/Random.hs | bsd-3-clause | 1,143 | 0 | 11 | 257 | 169 | 97 | 72 | 15 | 1 |
{-# LANGUAGE TemplateHaskell #-}
module Application where
import Data.Lens.Template
import Snap.Snaplet
import Snap.Snaplet.Heist
import Text.SyntaxHighlight.TextMate (TMSyntaxFile)
data App = App {
_heist :: Snaplet (Heist App),
_cspmSynytaxFile :: TMSyntaxFile
}
type AppHandler = Handler ... | tomgr/webcspm | src/Application.hs | bsd-3-clause | 406 | 0 | 11 | 81 | 98 | 56 | 42 | 13 | 0 |
{-# LANGUAGE TemplateHaskell #-}
module Main where
import Test.Tasty
import Test.Tasty.TH (defaultMainGenerator)
--import Test.Tasty.SmallCheck as SC
import Test.Tasty.QuickCheck as QC
import Test.Tasty.HUnit
import Test.QuickCheck.Arbitrary (Arbitrary)
import Test.QuickCheck.Property (forAll, Property, (==>))
import... | eukaryote/denominate | tests/test.hs | bsd-3-clause | 8,882 | 0 | 15 | 1,999 | 2,174 | 1,138 | 1,036 | 171 | 3 |
{-# LANGUAGE DataKinds #-}
{-# LANGUAGE GADTs #-}
{-# LANGUAGE KindSignatures #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE StandaloneDeriving #-}
{-# LANGUAGE TupleSections #-}
{-# LANGUAGE ViewPatterns #-}
-- | Parsing command line targets
module Stack.Build.Target
( --... | narrative/stack | src/Stack/Build/Target.hs | bsd-3-clause | 13,228 | 0 | 21 | 4,853 | 3,208 | 1,695 | 1,513 | 286 | 12 |
{-# LANGUAGE CPP, ViewPatterns #-}
#ifndef CABAL_VERSION_CHECK
#error This module has to be compiled via the Setup.hs program which generates the gtk2hs-macros.h file
#endif
-- | Build a Gtk2hs package.
--
module Gtk2HsSetup (
gtk2hsUserHooks,
getPkgConfigPackages,
checkGtk2hsBuildtools,
typeGenProgram,
... | keithodulaigh/Hets | glade-0.12.5.0/Gtk2HsSetup.hs | gpl-2.0 | 21,148 | 0 | 23 | 5,392 | 4,960 | 2,644 | 2,316 | -1 | -1 |
{-# LANGUAGE BangPatterns, DeriveDataTypeable, DeriveGeneric, FlexibleInstances, MultiParamTypeClasses, OverloadedStrings #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
module Network.Riak.Protocol.TsPutResponse (TsPutResponse(..)) where
import Prelude ((+), (/), (++), (.))
import qualified Prelude as Prelude'
impor... | tmcgilchrist/riak-haskell-client | protobuf/src/Network/Riak/Protocol/TsPutResponse.hs | apache-2.0 | 3,024 | 1 | 17 | 600 | 648 | 344 | 304 | 58 | 0 |
-- Test for https://gitlab.haskell.org/ghc/ghc/issues/2533
import System.Environment
import Data.List
main = do
(n:_) <- getArgs
print (genericTake (read n) "none taken")
print (genericDrop (read n) "none dropped")
print (genericSplitAt (read n) "none split")
| sdiehl/ghc | libraries/base/tests/genericNegative001.hs | bsd-3-clause | 264 | 0 | 11 | 36 | 91 | 44 | 47 | 7 | 1 |
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE ScopedTypeVariables #-}
{-# LANGUAGE PackageImports #-}
module Main where
import Gauge.Main
import Crypto.Hash.Algorithms as Crypto
import "cryptonite" Crypto.KDF.PBKDF2 as Crypto
import "fastpbkdf2" Crypto.KDF.PBKDF2 as Fast
import ... | vincenthz/cryptonite | benchs/PBKDF2.hs | bsd-3-clause | 1,981 | 0 | 13 | 480 | 559 | 298 | 261 | 50 | 1 |
{- |
This module allows you to use general literals like 'left' and 'center',
and the overloading will resove to the appropreate type.
-}
module Graphics.Storyboard.Literals where
-----------------------------------------------------------------------------
-- Short cut literal/DSL-keyword classes
class LR ... | tonymorris/story-board | src/Graphics/Storyboard/Literals.hs | bsd-3-clause | 1,585 | 0 | 6 | 279 | 337 | 193 | 144 | 42 | 1 |
module Main where
import Test.DocTest
main :: IO ()
main = doctest [
"-idist/build/autogen/"
, "-optP-include"
, "-optPdist/build/autogen/cabal_macros.h"
, "Network/Wai/Handler/Warp.hs"
]
| beni55/wai | warp/test/doctests.hs | mit | 202 | 0 | 6 | 35 | 39 | 23 | 16 | 8 | 1 |
module LetIn1 where
--A definition can be lifted from a where or let into the surronding binding group.
--Lifting a definition widens the scope of the definition.
--In this example, lift 'sq' in 'sumSquares'
--This example aims to test lifting a definition from a let clause to a where clause,
--and the elimination of... | kmate/HaRe | old/testing/liftOneLevel/LetIn1_TokOut.hs | bsd-3-clause | 575 | 0 | 7 | 215 | 83 | 44 | 39 | 7 | 2 |
{-# LANGUAGE OverloadedStrings, FlexibleInstances #-}
{-# LANGUAGE LambdaCase #-}
{-# OPTIONS_GHC -fno-warn-orphans #-}
module Documentation.Haddock.ParserSpec (main, spec) where
import Data.String
import qualified Documentation.Haddock.Parser as Parse
import Documentation.Haddock.Types
import ... | adamse/haddock | haddock-library/test/Documentation/Haddock/ParserSpec.hs | bsd-2-clause | 33,574 | 0 | 27 | 11,627 | 6,528 | 3,190 | 3,338 | 730 | 2 |
module ParseCertAttrs(parseCertAttr,CertAttrs) where
import CertAttrs
import OneLineAttrs
import Monad(mplus)
import MUtils
parseCertAttr :: String -> Maybe (Name,CertAttr)
parseCertAttr s = certAttrs =<< parseOneLineAttrs s
certAttrs attrs = (,) # attr "name" <# certAttrsFields
where
certAttrsFields = Attr # a... | forste/haReFork | tools/property/pfe/ParseCertAttrs.hs | bsd-3-clause | 761 | 1 | 11 | 157 | 252 | 134 | 118 | 20 | 5 |
{-# LANGUAGE OverloadedStrings #-}
import Sound.Tidal.Context
import Sound.Tidal.Vis
import Data.Colour
render :: [Pattern ColourD] -> IO ()
render xs = mapM_ (\(n, p) -> vPDF (show n ++ ".pdf") (300,100) p) $ zip [0..] xs
main = do render [a,b,c,d,e,f,g]
return ()
a = density 16 $ every 2 rev $ every 3 (... | lennart/Tidal | vis/examples/example.hs | gpl-3.0 | 1,588 | 0 | 15 | 573 | 503 | 254 | 249 | 32 | 1 |
{-# LANGUAGE CPP, RecordWildCards, MultiParamTypeClasses #-}
-- |
-- Package configuration information: essentially the interface to Cabal, with
-- some utilities
--
-- (c) The University of Glasgow, 2004
--
module PackageConfig (
-- $package_naming
-- * UnitId
packageConfigId,
-- * T... | tjakway/ghcjvm | compiler/main/PackageConfig.hs | bsd-3-clause | 5,188 | 0 | 11 | 1,208 | 1,007 | 533 | 474 | 84 | 1 |
{-# LANGUAGE OverloadedStrings, RecordWildCards, TemplateHaskell, TupleSections #-}
-- | Extensions to Aeson parsing of objects.
module Data.Aeson.Extended (
module Export
-- * Extended failure messages
, (.:)
, (.:?)
-- * JSON Parser that emits warnings
, WarningParser
, JSONWarning (..)
, withObjec... | mathhun/stack | src/Data/Aeson/Extended.hs | bsd-3-clause | 5,153 | 0 | 19 | 1,282 | 1,385 | 759 | 626 | 120 | 2 |
{-# LANGUAGE TypeFamilies #-}
-- This should fail, I think, because of the loopy equality,
-- but the error message is hopeless
module Simple13 where
type family F a
same :: a -> a -> a
same = undefined
mkf :: a -> [F a]
mkf p = undefined
foo :: a ~ [F a] => a -> a
foo p = same p (mkf p)
| spacekitteh/smcghc | testsuite/tests/indexed-types/should_compile/Simple13.hs | bsd-3-clause | 296 | 0 | 9 | 73 | 97 | 53 | 44 | 9 | 1 |
{-# LANGUAGE BangPatterns, FlexibleInstances, TypeFamilies,
TypeSynonymInstances, GADTs #-}
{-# OPTIONS_GHC -fno-warn-orphans -fno-warn-warnings-deprecations #-}
-- |
-- Module : Data.Attoparsec.ByteString.Char8
-- Copyright : Bryan O'Sullivan 2007-2014
-- License : BSD3
--
-- Maintainer : bos@serp... | DavidAlphaFox/ghc | utils/haddock/haddock-library/vendor/attoparsec-0.12.1.1/Data/Attoparsec/ByteString/Char8.hs | bsd-3-clause | 14,921 | 0 | 12 | 3,122 | 2,236 | 1,340 | 896 | 234 | 1 |
-- Mark II lazy wheel-sieve.
-- Colin Runciman (colin@cs.york.ac.uk); March 1996.
-- See article "Lazy wheel sieves and spirals of primes" (to appear, JFP).
import System.Environment
primes :: [Int]
primes = spiral wheels primes squares
spiral (Wheel s ms ns:ws) ps qs =
foldr turn0 (roll s) ns
where
roll o = f... | beni55/ghcjs | test/nofib/imaginary/wheel-sieve2/Main.hs | mit | 1,159 | 0 | 13 | 300 | 613 | 322 | 291 | 33 | 4 |
module T2182ghci_C(T(..)) where
import T2182ghci_B
| urbanslug/ghc | testsuite/tests/ghci/scripts/T2182ghci_C.hs | bsd-3-clause | 51 | 0 | 5 | 5 | 16 | 11 | 5 | 2 | 0 |
module Main where
main :: IO ()
main =
do ws <- loadInput
print (sum (part1 <$> ws))
print (sum (part2 <$> ws))
loadInput :: IO [String]
loadInput = lines <$> readFile "input8.txt"
part1 :: String -> Int
part1 str = 2 + sum (aux (init (tail str)))
where
aux ('\\':'"' :xs) = 1 : aux xs
aux ('\\':... | glguy/advent2015 | Day8.hs | isc | 612 | 0 | 12 | 182 | 321 | 163 | 158 | 20 | 5 |
{- |
Module : Haskdown
Copyrigt : Copyright (C) 2014-2014 Reeze Xia
License : MIT License
-}
module Haskdown
(
--
module Haskdown.Parser
module Haskdown.Generator
) where
import Haskdown.Parser
import Haskdown.Generator | reeze/haskdown | src/Haskdown.hs | mit | 306 | 1 | 5 | 117 | 25 | 17 | 8 | -1 | -1 |
module Sandbox.Recursion (length') where
length' :: (Num b) => [a] -> b
length' [] = 0
length' (_:xs) = 1 + length' xs | olkinn/my-haskell-sandbox | src/Sandbox/Recursion.hs | mit | 120 | 0 | 7 | 24 | 64 | 35 | 29 | 4 | 1 |
module J2S.AI
( module AI
) where
import J2S.AI.MaxN as AI
import J2S.AI.MinMax as AI
import J2S.AI.Random as AI
import J2S.AI.Types as AI
| berewt/J2S | src/J2S/AI.hs | mit | 187 | 0 | 4 | 71 | 44 | 32 | 12 | 6 | 0 |
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE FlexibleInstances #-}
{-# OPTIONS_GHC -fno-warn-orphans #-}
import Test.QuickCheck
import Test.Framework.TH
import Test.Framework.Providers.QuickCheck2
import qualified Data.Vector.Storable as V
import qualified Data.List as L
import Control.Applicative
import Control... | fhaust/kdtree | test/MainTest.hs | mit | 4,523 | 0 | 10 | 869 | 1,541 | 846 | 695 | 79 | 1 |
module Main where
import System.Environment (getArgs)
import System.IO (readFile)
import Data.Char (chr, ord)
import Control.Applicative (many, (<$), (<|>), (<*>), (<*), (*>), (<$>) )
import Control.Monad (foldM, void)
import Text.ParserCombinators.ReadP hiding (many)
data BrainFuck = PtrInc | PtrDec | ValInc | ValDec... | KeizoBookman/bf-haskell | Main.hs | mit | 1,740 | 0 | 22 | 512 | 803 | 433 | 370 | 48 | 7 |
-- Problems/Problem012Spec.hs
module Problems.Problem012Spec (main, spec) where
import Test.Hspec
import Problems.Problem012
main :: IO()
main = hspec spec
spec :: Spec
spec = describe "Problem 12" $
it "Should evaluate to 76576500" $
p12 `shouldBe` 76576500
| Sgoettschkes/learning | haskell/ProjectEuler/tests/Problems/Problem012Spec.hs | mit | 274 | 0 | 8 | 51 | 73 | 41 | 32 | 9 | 1 |
#!/usr/bin/env stack
{- stack --system-ghc --resolver lts-18.18 script -}
module Main where
import System.Environment
import System.Exit
import System.IO
import Control.Arrow ((&&&))
import Data.Char
import Data.List
import Data.Function (on)
import Text.Printf
main :: IO ()
main = do
d <- get... | joelelmercarlson/stack | haskell/wordcount.hs | mit | 1,703 | 0 | 16 | 611 | 752 | 424 | 328 | 48 | 15 |
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE QuasiQuotes #-}
module Hpack.UtilSpec (main, spec) where
import Data.Aeson
import Data.Aeson.QQ
import Data.Aeson.Types
import Helper
import System.Directory
import Hpack.Config
import Hpack.Util
mai... | yamadapc/hpack-convert | test/Hpack/UtilSpec.hs | mit | 5,575 | 0 | 21 | 1,524 | 1,638 | 818 | 820 | 121 | 1 |
module Main where
import qualified AoC201601 as AoC01
import qualified AoC201602 as AoC02
import qualified AoC201603 as AoC03
import qualified AoC201604 as AoC04
import qualified AoC201605 as AoC05
import qualified AoC201606 as AoC06
import qualified AoC201607 as AoC07
import qualified AoC201608 as AoC08
import qualif... | rickerbh/AoC | AoC2016/app/Main.hs | mit | 503 | 0 | 7 | 84 | 118 | 74 | 44 | 21 | 1 |
module Main where
import qualified Prelude as P
import Lib
import Derivation
import System.IO
import Data.List as L
import System.Random.Shuffle
import Control.Monad as M
import Data.Time
haskCoq :: [a] -> List a
haskCoq [] = Nil
haskCoq (h : hs) = Cons h (haskCoq hs)
coqNat :: P.Int -> Nat
coqNat n
| n P.== 0 = O
... | mukeshtiwari/formalized-voting | paper-code/schulze-voting/app/Main.hs | mit | 1,372 | 0 | 21 | 344 | 638 | 334 | 304 | 44 | 4 |
{-# LANGUAGE OverloadedStrings #-}
module Cryptogram where
import Prelude
import qualified Prelude as P
import Data.HashMap.Lazy
import qualified Data.HashSet as HS
import Data.Word (Word8)
import Data.ByteString hiding (empty)
import qualified Data.ByteString as BS
canonicalize :: ByteString -> [Int]
canonicalize ... | bhamrick/puzzlib | Cryptogram.hs | mit | 2,495 | 0 | 14 | 490 | 1,076 | 562 | 514 | 49 | 3 |
{-# LANGUAGE NoImplicitPrelude, TypeSynonymInstances, FlexibleInstances, TemplateHaskellQuotes, OverloadedStrings, PostfixOperators #-}
{-# OPTIONS_GHC -fno-warn-missing-signatures -fno-warn-type-defaults -fno-warn-orphans #-} -- Rankable
{-# OPTIONS_GHC -O0 -fno-cse -fno-full-laziness #-} -- preserve "lexical" sharin... | sboosali/commands | commands-spiros/config/Commands/Plugins/Spiros/Number.hs | mit | 4,526 | 0 | 8 | 994 | 1,257 | 714 | 543 | -1 | -1 |
module Tak.Editor.Cursor where
import qualified Tak.Buffer.Line as L
import Tak.Util
import Tak.Types
import Tak.Buffer
insertPos :: SimpleEditor -> Pos
insertPos ed = posWithinBuffer (buffer ed) (cursorPos ed)
screenPos :: SimpleEditor -> Pos
screenPos se = let iPos = insertPos se
Pos y x = iPos... | sixohsix/tak | src/Tak/Editor/Cursor.hs | mit | 3,003 | 0 | 14 | 910 | 1,130 | 590 | 540 | 82 | 3 |
module Main where
import QLib
main :: IO ()
main = quantumRun
| byronwasti/Quantum-Computer-Simulation | haskell/app/Main.hs | mit | 65 | 0 | 6 | 15 | 22 | 13 | 9 | 4 | 1 |
module Test.Misc where
import Test.Hspec
import Control.Exception
import Text.Parsec.String
import Text.Parsec.Prim
import Language.Java.Parser
shouldParse :: (Show a, Eq a) => Parser a -> [(String, a)] -> Expectation
shouldParse parser =
mapM_ (\(source, expected) ->
case parse parser "" source... | evansb/jasper | test/Test/Misc.hs | mit | 1,088 | 0 | 14 | 351 | 349 | 189 | 160 | 28 | 2 |
{-# LANGUAGE ForeignFunctionInterface #-}
module System.Environment.FindBin
( __Bin__
, getProgPath
) where
import Foreign (Ptr, alloca, peek, peekElemOff)
import Foreign.C (CInt, CString, peekCString)
import System.Directory (canonicalizePath, findExecutable)
import System.FilePath (takeDirectory, takeBa... | soenkehahn/findbin | src/System/Environment/FindBin.hs | mit | 2,331 | 0 | 29 | 782 | 562 | 281 | 281 | 46 | 6 |
{-# LANGUAGE PatternSynonyms, ForeignFunctionInterface, JavaScriptFFI #-}
module GHCJS.DOM.JSFFI.Generated.SVGZoomEvent
(js_getZoomRectScreen, getZoomRectScreen, js_getPreviousScale,
getPreviousScale, js_getPreviousTranslate, getPreviousTranslate,
js_getNewScale, getNewScale, js_getNewTranslate, ... | manyoo/ghcjs-dom | ghcjs-dom-jsffi/src/GHCJS/DOM/JSFFI/Generated/SVGZoomEvent.hs | mit | 3,191 | 30 | 10 | 420 | 689 | 404 | 285 | 46 | 1 |
{-# LANGUAGE OverloadedStrings #-}
module Day9 (day9, day9', run) where
import Data.Attoparsec.Text
( Parser
, char
, decimal
, endOfLine
, isHorizontalSpace
, many'
, string
, parseOnly
, takeTill
)
import Data.Function (on)
import Data.Map.Strict (Map)
import qualified Data.Ma... | brianshourd/adventOfCode2015 | src/Day9.hs | mit | 1,826 | 0 | 12 | 444 | 597 | 318 | 279 | 59 | 3 |
{-# LANGUAGE QuasiQuotes #-}
module Main (main) where
import Control.Applicative ((<$>))
import Data.String.Interpolate (i)
import System.Cmd (system)
import System.Exit (ExitCode(..))
import Test.Assert (runAssertions)
import Paths_assertions (getDataFileName)
is0 :: ExitCode -> Bool
is0 = (== ExitSuccess)
is1 :: ... | fmap/assertions | test/Assert.hs | mit | 986 | 0 | 11 | 173 | 254 | 150 | 104 | 23 | 1 |
module Format.Format where
--import qualified Brick.Main as Brick
import Control.Monad (when, zipWithM)
import Data.List.Split
import qualified Data.List as List
import Text.Printf
type Title = String
type Summary = String
type ArxivId = String
data Entry = Entry Title Summary ArxivId deriving Show
-- ANSI color es... | andreasbock/arxivd | src/Format/Format.hs | mit | 3,174 | 0 | 13 | 731 | 729 | 397 | 332 | 47 | 3 |
module UUID
( randomUUID
) where
import Control.Applicative ((<$>))
import qualified Data.ByteString.Char8 as B (ByteString, pack)
import Data.UUID ()
import Data.UUID.V4 (nextRandom)
randomUUID :: IO B.ByteString
randomUUID = (B.pack . show) <$> nextRandom
| shak-mar/botstrats | common/UUID.hs | mit | 260 | 0 | 8 | 35 | 85 | 53 | 32 | 8 | 1 |
module Rebase.Control.Monad.Trans.State
(
module Control.Monad.Trans.State
)
where
import Control.Monad.Trans.State
| nikita-volkov/rebase | library/Rebase/Control/Monad/Trans/State.hs | mit | 119 | 0 | 5 | 12 | 26 | 19 | 7 | 4 | 0 |
{-
- IOUtil.hs - Unicode console IO
-
- http://stackoverflow.com/questions/10779149/unicode-console-i-o-in-haskell-on-windows
- Retrieved January 13 2015
-
-}
{-# LANGUAGE ForeignFunctionInterface #-}
{-# LANGUAGE CPP #-}
{-# LANGUAGE NoImplicitPrelude #-}
module IOUtil (
IOUtil.interact,
IOUtil.putChar, ... | SwiftsNamesake/ElegantChess | IOUtil.hs | mit | 7,491 | 0 | 16 | 1,982 | 1,754 | 914 | 840 | 36 | 1 |
module Auth0.API
( module Auth0.API.Types
,
) where
import Auth0.API.Authentification
import Auth0.API.Management
import Auth0.API.Config
import Auth0.API.Types
| kelecorix/api-auth0 | src/Auth0/API.hs | mit | 179 | 0 | 5 | 34 | 40 | 27 | 13 | 6 | 0 |
isBigGang :: Int -> (Bool, String)
isBigGang x = let n = 9 in (x > n, "Compared the gang size to " ++ show n ++ ".")
applyLog :: (a, String) -> (a -> (b, String)) -> (b, String)
applyLog (x,log) f = let (y, newLog) = f x in (y, log++newLog) | RAFIRAF/HASKELL | For a Few Monads More/bigBang.hs | mit | 241 | 0 | 10 | 53 | 141 | 77 | 64 | 4 | 1 |
{-# LANGUAGE OverloadedStrings #-}
module Data.GiveYouAHead.JSON
(
USettings(..),
getUSettings
) where
import Data.GiveYouAHead(USettings(..))
import Data.Aeson(FromJSON(..),ToJSON(..),decode,Value(..),object,(.:),(.=))
import Control.Applicative()
import Data.ByteString... | Qinka/GiveYouAHead | lib/Data/GiveYouAHead/JSON.hs | mit | 742 | 0 | 8 | 198 | 206 | 124 | 82 | 18 | 1 |
module Calico.Text.IO
( module Calico.Text
, putText
, putText'
, putTextLn
, putTextLn'
, hPutText
, hPutText'
, hPutTextLn
, hPutTextLn'
) where
import Prelude ()
import Calico.Base
import Calico.Text
import Calico.IO
import qualified Data.Text.IO as IO
putText :: Text -> IO ()
putText = IO.putSt... | Rufflewind/calico-hs | Calico/Text/IO.hs | mit | 802 | 0 | 8 | 165 | 301 | 166 | 135 | 31 | 1 |
-----------------------------------------------------------------------------
-- |
-- Module : Graphics.Rendering.Plot.Gtk.UI
-- Copyright : (c) Sumit Sahrawat
-- License : GPL-2
--
-- Maintainer : sumit.sahrawat.apm13@iitbhu.ac.in
-- Stability : provisional
-- Portability : portable
--
-- Functions... | sumitsahrawat/plot-gtk-ui | lib/Graphics/Rendering/Plot/Gtk/UI/Figure.hs | gpl-2.0 | 4,133 | 0 | 16 | 1,153 | 899 | 460 | 439 | 68 | 2 |
{-# LANGUAGE TemplateHaskell #-}
module Hint.Interpreter.Context
( Command
, Environment
, Macros
, Context(..)
, Error(..)
, initial
, raise
, command
, macroses
, environment
, history
, promptString
, output
, welcome
, farewell
, promptLarge
, prom... | go1dshtein/hint | src/haskell/main/Hint/Interpreter/Context.hs | gpl-2.0 | 1,525 | 0 | 10 | 471 | 401 | 244 | 157 | 64 | 1 |
module Main (
main
) where
import Text.Pandoc.JSON
import Text.Pandoc
import System.Process
import Data.List
import System.IO.Temp
import System.IO
import System.Directory
-- | Merges the code block and its output into a Pandoc 'Block'
combine :: Block -> String -> Block
combine cb out = Div ("", [], []) ([cb] +... | iemxblog/pandoc-code-block-output | Main.hs | gpl-2.0 | 1,043 | 0 | 14 | 309 | 374 | 190 | 184 | 31 | 2 |
-- #hide
--------------------------------------------------------------------------------
-- |
-- Module : Graphics.Rendering.OpenGL.GL.PointParameter
-- Copyright : (c) Sven Panne 2002-2009
-- License : BSD-style (see the file libraries/OpenGL/LICENSE)
--
-- Maintainer : sven.panne@aedion.de
-- Stabil... | ducis/haAni | hs/common/Graphics/Rendering/OpenGL/GL/PointParameter.hs | gpl-2.0 | 1,625 | 0 | 8 | 191 | 191 | 118 | 73 | 21 | 4 |
-- construct height balanced trees
-- with given node number n
import Data.List
data Tree a = Empty | Branch a (Tree a) (Tree a) deriving (Show, Eq)
p59 :: a -> Int -> [Tree a]
p59 x n = trees !! n where
trees = [Empty] : [Branch x Empty Empty] : zipWith combine (tail trees) trees where
combi... | yalpul/CENG242 | H99/54-60/p60.hs | gpl-3.0 | 942 | 0 | 13 | 323 | 439 | 234 | 205 | 17 | 2 |
{-# LANGUAGE FlexibleInstances #-}
{-# LANGUAGE GADTs #-}
{-# LANGUAGE MultiParamTypeClasses #-}
{-# LANGUAGE TupleSections #-}
-- | A module that allows to generate widgets that show (and allow editing of) Karnaugh cards.
module Dep.Ui.Karnaugh (
karnaugh1Widget,karnaughWidget
) where
import Control.Arro... | KommuSoft/dep-software | Dep.Ui.Karnaugh.hs | gpl-3.0 | 8,760 | 0 | 22 | 2,945 | 4,064 | 2,136 | 1,928 | 166 | 8 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.