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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
import Test.DocTest
main :: IO ()
main = doctest ["src/doctest/Square.hs", "src/doctest/Printer.hs"]
| pfcuttle/twentyfour-2013 | src/doctest/Tests.hs | bsd-3-clause | 102 | 0 | 6 | 12 | 30 | 16 | 14 | 3 | 1 |
{-# LANGUAGE
OverloadedStrings
, ScopedTypeVariables
, FlexibleContexts
, TupleSections
#-}
module Pages.NotFound where
import Imports hiding (p_)
import Templates.Master
import Security
import Data.Url
import Data.Maybe (isJust)
import Path.Extended
import Data.Markup
import Web.Page.Lucid
import qualif... | athanclark/nested-routes-website | src/Pages/NotFound.hs | bsd-3-clause | 1,665 | 0 | 15 | 502 | 453 | 226 | 227 | 44 | 1 |
module Mistral.ModuleSystem.Prelude where
import Mistral.ModuleSystem.Interface
import Mistral.ModuleSystem.Name
import Mistral.TypeCheck.AST
import Mistral.Utils.SCC
import qualified Data.Map as Map
prelude :: Iface
prelude = Iface { ifaceModName = mkGlobal [] "Prelude"
, ifaceDeps = []
... | GaloisInc/mistral | src/Mistral/ModuleSystem/Prelude.hs | bsd-3-clause | 8,141 | 0 | 16 | 2,298 | 3,498 | 1,906 | 1,592 | 171 | 1 |
{-# LANGUAGE OverloadedStrings, PackageImports #-}
import Control.Applicative
import Control.Monad
import "monads-tf" Control.Monad.Trans
import Data.HandleLike
import System.Environment
import Network
import Network.PeyoTLS.ReadFile
import Network.PeyoTLS.Client
import "crypto-random" Crypto.Random
import qualified ... | YoshikuniJujo/peyotls | peyotls/debug/simpleClient.hs | bsd-3-clause | 1,135 | 4 | 16 | 195 | 416 | 214 | 202 | 30 | 2 |
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE FlexibleContexts #-}
module Main where
import Lib
import Control.Arrow
import Control.Concurrent.Async
import Control.Exception
import Control.Monad (forever)
import Control.Monad.Reader
import Data.List
impor... | AshyIsMe/hircules | app/Main.hs | bsd-3-clause | 3,835 | 0 | 20 | 1,237 | 1,292 | 636 | 656 | 97 | 3 |
module GameRecolorCells where
import Types
-- перекрашивание клеток
reColorLine :: Pos -> World-> World
reColorLine p (World w turn cnt prevW m stg svg stplst view lvl) = (reColorCell p (cellViaDirection p turn w) (World w turn cnt prevW m stg svg stplst view lvl))
-- перекрашивание клеток, по 1 клетке... | cmc-haskell-2016/reversi | src/GameRecolorCells.hs | bsd-3-clause | 4,676 | 0 | 17 | 1,119 | 1,583 | 873 | 710 | 49 | 5 |
module Physics.Falling.Constraint.Solver.ContactDynamicConfiguration
(
ContactDynamicConfiguration(..)
, contactConfiguration
)
where
import Physics.Falling.Dynamics.InertiaTensor
import Physics.Falling.Math.Transform
data ContactDynamicConfiguration lv av = ContactDynamicConfiguration {
... | sebcrozet/falling | Physics/Falling/Constraint/Solver/ContactDynamicConfiguration.hs | bsd-3-clause | 2,578 | 0 | 13 | 1,283 | 324 | 193 | 131 | 39 | 3 |
{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE TypeOperators #-}
{-# LANGUAGE DataKinds #-}
module Main (main) where
import Data.Text (Text)
import Network.Craze
import Options.Generic (ParseRecord, Generic, getRecord, unHelpful, (<?>)(..))
data Options = Options
{ clients :: In... | etcinit/craze | app/Main.hs | bsd-3-clause | 975 | 0 | 16 | 247 | 260 | 143 | 117 | -1 | -1 |
module Ling.Fmt where
import System.Environment (getArgs)
import System.Exit (exitFailure)
import System.IO
import Ling.ErrM
import Ling.Fmt.Albert.Abs as A
import Ling.Fmt.Albert.Layout as A
import Ling.Fmt.Albert.Migrate... | np/ling | Ling/Fmt.hs | bsd-3-clause | 1,789 | 0 | 10 | 580 | 534 | 283 | 251 | 48 | 4 |
{-
(c) The University of Glasgow 2006
(c) The GRASP/AQUA Project, Glasgow University, 1993-1998
-}
{-# LANGUAGE CPP #-}
module IfaceSyn (
module IfaceType,
IfaceDecl(..), IfaceFamTyConFlav(..), IfaceClassOp(..), IfaceAT(..),
IfaceConDecl(..), IfaceConDecls(..), IfaceEqSpec,
IfaceExpr(... | vikraman/ghc | compiler/iface/IfaceSyn.hs | bsd-3-clause | 76,992 | 77 | 29 | 25,351 | 18,816 | 9,359 | 9,457 | 1,473 | 12 |
module Malgo.Driver (compile, compileFromAST) where
import Control.Lens (over, view, (^.))
import Debug.Pretty.Simple (pTraceShowM)
import Koriel.Core.CodeGen (codeGen)
import Koriel.Core.Flat (flat)
import Koriel.Core.LambdaLift (lambdalift)
import Koriel.Core.Lint (lintProgram, runLint)
import Koriel.Core.Optimize (... | takoeight0821/malgo | src/Malgo/Driver.hs | bsd-3-clause | 4,037 | 24 | 15 | 707 | 1,231 | 635 | 596 | -1 | -1 |
{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DeriveDataTypeable, ScopedTypeVariables #-}
module Reslock where
import Prelude hiding (lookup, read)
import TestMain
import Helper
import AST hiding (Process)
import Render
import Control.Distributed.Process
import Control.Distributed.Process.Serializable
import Data.Bin... | abakst/symmetry | checker/src/cloud-haskell-tests/Reslock.hs | mit | 4,251 | 0 | 16 | 1,522 | 1,383 | 681 | 702 | 102 | 2 |
{-# LANGUAGE ScopedTypeVariables, DeriveDataTypeable, DefaultSignatures,
TypeOperators, TupleSections, FlexibleContexts, FlexibleInstances
#-}
module GHCJS.Marshal.Internal ( FromJSVal(..)
, ToJSVal(..)
, PToJSVal(..)
... | ghcjs/ghcjs-base | GHCJS/Marshal/Internal.hs | mit | 9,064 | 0 | 20 | 2,364 | 3,516 | 1,777 | 1,739 | 181 | 1 |
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
-- |
-- Module : Main
-- Copyright : (c) 2013-2015 Brendan Hay
-- License : Mozilla Public License, v. 2.0.
-- Maintainer : Brendan Hay <brendan.g.hay@gmail.com>
-- Stability : auto-generated
-- Portability : non-portable (GHC extensions)
--
module Main (main)... | fmapfmapfmap/amazonka | amazonka-datapipeline/test/Main.hs | mpl-2.0 | 549 | 0 | 8 | 103 | 76 | 47 | 29 | 9 | 1 |
module App.Layouts.Default where
import Turbinado.Layout
markup = tag "html" $
tag "body" $
insertDefaultView
| alsonkemp/turbinado | App/Layouts/Default.hs | bsd-3-clause | 137 | 0 | 7 | 41 | 31 | 17 | 14 | 5 | 1 |
{-# LANGUAGE DeriveGeneric #-}
module BayesStack.Dirichlet ( -- * Dirichlet parameter
Alpha
, symAlpha, asymAlpha
, alphaDomain, alphaNormalizer, sumAlpha
, DirMean, DirPrecision
... | beni55/bayes-stack | BayesStack/Dirichlet.hs | bsd-3-clause | 6,154 | 0 | 21 | 1,744 | 1,761 | 927 | 834 | 108 | 2 |
{- |
Module : $Header$
Description : Utility functions for writing object logic instances
Copyright : (c) Kristina Sojakova, DFKI Bremen 2010
License : GPLv2 or higher, see LICENSE.txt
Maintainer : k.sojakova@jacobs-university.de
Stability : experimental
Portability : portable
-}
module Framework... | keithodulaigh/Hets | Framework/WriteLogicUtils.hs | gpl-2.0 | 1,868 | 0 | 13 | 494 | 553 | 291 | 262 | 43 | 4 |
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE OverloadedStrings #-}
-- Module : Gen.Documentation
-- Copyright : (c) 2013-2015 Brendan Hay <brendan.g.hay@gmail.com>
-- License : This Source Code Form is subject to the terms of
-- the Mozilla Public License, v. 2.0.
-- A copy of... | kim/amazonka | gen/src/Gen/Documentation.hs | mpl-2.0 | 4,216 | 3 | 16 | 1,739 | 1,505 | 779 | 726 | 88 | 15 |
{-# LANGUAGE CPP #-}
module TcInteract (
solveSimpleGivens, -- Solves [Ct]
solveSimpleWanteds, -- Solves Cts
solveCallStack, -- for use in TcSimplify
) where
#include "HsVersions.h"
import BasicTypes ( SwapFlag(..), isSwapped,
infinity, IntWithInf, intGtLimit )
import Hs... | olsner/ghc | compiler/typecheck/TcInteract.hs | bsd-3-clause | 94,859 | 26 | 21 | 27,982 | 13,002 | 6,757 | 6,245 | -1 | -1 |
{-# LANGUAGE CPP #-}
module Main where
import Prelude hiding ((+))
data Nat = Z | S Nat
(+) :: Nat -> Nat -> Nat
Z + n = n
(S n') + n = S (n' + n)
fromInt :: Int -> Nat
fromInt 0 = Z
fromInt i | i < 0 = error "fromInt negative"
| otherwise = S (fromInt (i-1))
toInt :: Nat -> Int
toInt Z = 0
toInt (S... | beni55/hermit | examples/fib-tuple/Fib.hs | bsd-2-clause | 778 | 0 | 10 | 246 | 391 | 205 | 186 | 24 | 1 |
module Haskell.Warnings
where
import Haskell.Internal (bar)
foo = 10 :: Integer
spam :: [String] -> [[String]]
spam eggs = map lines eggs
main :: IO ()
main = (putStrLn bar)
| sebastianbeyer/flycheck | test/resources/checkers/Haskell/Warnings.hs | gpl-3.0 | 178 | 0 | 7 | 34 | 76 | 43 | 33 | 7 | 1 |
module T10618 where
foo = Just $ Nothing <|> Nothing
| ezyang/ghc | testsuite/tests/rename/should_fail/T10618.hs | bsd-3-clause | 54 | 0 | 6 | 11 | 17 | 10 | 7 | 2 | 1 |
module Melvin.Damn.HTML (
escape,
message,
Message(..)
) where
import Control.Applicative
import Data.Attoparsec.Text
import Data.Char
import qualified Data.Text as T
import Melvin.Prelude hiding (takeWhile)
data Message = Numeric Int | Named Text | Chunk Text
... | pikajude/melvin | src/Melvin/Damn/HTML.hs | mit | 999 | 0 | 12 | 339 | 341 | 179 | 162 | -1 | -1 |
{-# htermination (gtEsOrdering :: Ordering -> Ordering -> MyBool) #-}
import qualified Prelude
data MyBool = MyTrue | MyFalse
data List a = Cons a (List a) | Nil
data Ordering = LT | EQ | GT ;
compare0 x y MyTrue = GT;
otherwise :: MyBool;
otherwise = MyTrue;
compare1 x y MyTrue = LT;
compare1 x y MyFalse ... | ComputationWithBoundedResources/ara-inference | doc/tpdb_trs/Haskell/basic_haskell/GTEQ_7.hs | mit | 1,484 | 0 | 8 | 298 | 529 | 287 | 242 | 41 | 1 |
{-# LANGUAGE PatternSynonyms, ForeignFunctionInterface, JavaScriptFFI #-}
module GHCJS.DOM.JSFFI.Generated.HTMLDocument
(js_open, open, js_close, close, js_write, write, js_writeln,
writeln, js_clear, clear, js_captureEvents, captureEvents,
js_releaseEvents, releaseEvents, js_getEmbeds, getEmbeds... | plow-technologies/ghcjs-dom | src/GHCJS/DOM/JSFFI/Generated/HTMLDocument.hs | mit | 13,437 | 186 | 11 | 2,256 | 3,031 | 1,611 | 1,420 | 215 | 1 |
{-# OPTIONS_HADDOCK show-extensions #-}
{-# LANGUAGE DeriveFunctor #-}
{-|
Module : Data.Heap.Unchecked
Description : weakly typed heaps
Copyright : (c) Lars Brünjes, 2016
License : MIT
Maintainer : brunjlar@gmail.com
Stability : experimental
Portability : portable
This module provides weakly typed lef... | brunjlar/heap | src/Data/Heap/Unchecked.hs | mit | 3,005 | 0 | 14 | 912 | 762 | 402 | 360 | 55 | 2 |
module Channel where
import Control.Monad (forM_)
import qualified Data.Text as T
import qualified Data.Map as Map
import qualified Network.WebSockets as WS
import Client
data Chan = Chan { getClients :: Map.Map T.Text (WS.Sink WS.Hybi10) }
type ChanS = Map.Map T.Text Chan
newChan :: Chan
newChan = Chan Map.em... | osa1/dolap-chat | src/Channel.hs | mit | 1,411 | 0 | 13 | 261 | 546 | 286 | 260 | 34 | 2 |
{-|
Module : FreeCell
Description : A library for Freecell
Copyright : (c) Timothy Dees, 2014
License : MIT
Maintainer : timothy.dees@gmail.com
Stability : experimental
This lets you play FreeCell. It's fun, I think.
-}
module FreeCell
( -- * Types to work with playing cards
Rank
, Suit
... | boundedvariation/Freecell | solver.hs | mit | 16,716 | 0 | 21 | 5,382 | 4,762 | 2,508 | 2,254 | 409 | 13 |
newtype Identity a = Identity a deriving (Eq, Ord, Show)
instance Functor Identity where
fmap f (Identity x) = Identity (f x)
instance Foldable Identity where
foldr f z (Identity x) = f x z
instance Applicative Identity where
pure x = Identity x
Identity f <*> Identity x = Identity $ f x
instance Travers... | JustinUnger/haskell-book | ch21/ch21-ex1.hs | mit | 385 | 0 | 8 | 84 | 163 | 79 | 84 | 10 | 0 |
module GHCJS.DOM.MediaStreamTrackSourcesCallback (
) where
| manyoo/ghcjs-dom | ghcjs-dom-webkit/src/GHCJS/DOM/MediaStreamTrackSourcesCallback.hs | mit | 61 | 0 | 3 | 7 | 10 | 7 | 3 | 1 | 0 |
{-# LANGUAGE OverloadedStrings, OverloadedLists #-}
module Unison.Test.Codebase.Path where
import EasyTest
import Unison.Codebase.Path
import Data.Sequence
import Data.Text
import Unison.NameSegment
import Data.Either
import qualified Unison.HashQualified' as HQ'
import qualified Unison.ShortHash as SH
test :: Test ... | unisonweb/platform | parser-typechecker/tests/Unison/Test/Codebase/Path.hs | mit | 2,678 | 0 | 17 | 635 | 1,009 | 504 | 505 | 49 | 1 |
{-# LANGUAGE CPP #-}
{-# LANGUAGE FlexibleContexts #-}
module Widgets.Menu where
import Control.Concurrent
import Control.Monad
import Control.Monad.IO.Class
import GHCJS.DOM.Element
import GHCJS.Foreign
import GHCJS.Types
import Local... | osener/markup.rocks | src/Widgets/Menu.hs | mit | 3,223 | 0 | 20 | 1,185 | 785 | 389 | 396 | -1 | -1 |
module Language.Atom.MSP430.TimerA where
import Language.Atom
import Data.Word
taSource = 0x0000 :: Word16 -- Source Timer A from TACLK.
taSourceACLK = 0x0100 :: Word16 -- Source Timer A from ACLK.
taSourceSMCLK = 0x0200 :: Word16 -- Source Timer A from SMCLK.
taSourceINCLK = 0x0300 :: Word1... | eightyeight/atom-msp430 | Language/Atom/MSP430/TimerA.hs | mit | 1,644 | 0 | 5 | 352 | 230 | 147 | 83 | 27 | 1 |
-- Copyright 2015 Mitchell Kember. Subject to the MIT License.
module Main where
import Problem01
import Problem02
import Problem03
import Problem04
import Problem05
import Problem06
import Problem07
import Problem08
import Problem09
import Problem10
import Problem11
import Problem12
import Problem13
import Problem14... | mk12/euler | haskell/Test.hs | mit | 3,700 | 0 | 13 | 748 | 1,094 | 612 | 482 | 118 | 4 |
import Text.Parsec
import Text.Parsec.Expr
import Text.Parsec.Combinator
import Data.Functor
data Exp = Num Int
| Add Exp Exp
| Sub Exp Exp
| Mul Exp Exp
| Div Exp Exp
| Pos Exp
| Neg Exp
expr = buildExpressionParser table factor <?> "expr"
table = [[prefix "-" ... | m00nlight/hackerrank | functional/Parser/Expression-V2/main.hs | gpl-2.0 | 1,703 | 0 | 14 | 561 | 727 | 371 | 356 | 43 | 7 |
module Math.Structure
( module Math.Structure.Additive
, module Math.Structure.Module
, module Math.Structure.Multiplicative
, module Math.Structure.Ring
, module Math.Structure.Instances
)
where
import Math.Structure.Additive
import Math.Structure.Module
import Math.Structure.Multiplicative
import Math.S... | martinra/algebraic-structures | src/Math/Structure.hs | gpl-3.0 | 367 | 0 | 5 | 44 | 73 | 50 | 23 | 11 | 0 |
{-# LANGUAGE ExistentialQuantification #-}
module BotCommand where
import Logger
import Prelude hiding (mempty)
import Data.ByteString (pack, unpack)
import Data.Char
import qualified Data.List as L
import Text.ParserCombinators.Parsec
import Text.ParserCombinators.Parsec.Char
import Text.Parsec.Pos
import Text.Parser... | maxking/cs583-project | src/BotCommand.hs | gpl-3.0 | 4,725 | 0 | 15 | 1,077 | 1,248 | 670 | 578 | 92 | 2 |
-- Copyright 2016, 2017 Robin Raymond
--
-- This file is part of Purple Muon
--
-- Purple Muon 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, either version 3 of the License, or
-- (at your option) an... | r-raymond/purple-muon | src/PurpleMuon/Network/Types.hs | gpl-3.0 | 4,119 | 0 | 9 | 961 | 495 | 330 | 165 | 64 | 0 |
import Data.Char
import Data.List
-- Ex.1
reverseOrdStuff :: Int -> Int
reverseOrdStuff = readInt . reverse . show . last . sort .
map readInt . filter descending . filter (not . null) . tails . show
where readInt :: String -> Int
readInt = read
descending (x:[]) = True
descending (x:y:xs)... | minchopaskal/Functional-Programming | Haskell/Practicum/practice.hs | gpl-3.0 | 2,707 | 1 | 16 | 775 | 1,267 | 664 | 603 | 56 | 3 |
-- grid is a game written in Haskell
-- Copyright (C) 2018 karamellpelle@hotmail.com
--
-- This file is part of grid.
--
-- grid 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, either version 3 of the Lice... | karamellpelle/grid | source/Game/Run/Iteration/Memory.hs | gpl-3.0 | 3,329 | 0 | 20 | 1,090 | 474 | 262 | 212 | 45 | 3 |
{-# LANGUAGE Arrows #-}
module SIRSDYampa
( runYampaSD
) where
import FRP.Yampa
runYampaSD :: Double
-> Double
-> Double
-> Double
-> Double
-> Double
-> Time
-> DTime
-> [(Double, Double, Double)]
runYampaSD initSus
... | thalerjonathan/phd | coding/prototyping/haskell/propertyBasedSIR/src/Yampa/SIRSDYampa.hs | gpl-3.0 | 1,232 | 6 | 24 | 459 | 418 | 234 | 184 | 37 | 1 |
module Tests.FuzzySearch where
import qualified Control.Lens as Lens
import Data.MRUMemo (memo)
import qualified Lamdu.Fuzzy as Fuzzy
import Lamdu.Fuzzy (Fuzzy)
import Test.Lamdu.Prelude
{-# NOINLINE fuzzyMaker #-}
fuzzyMaker :: [(Text, Int)] -> Fuzzy (Set Int)
fuzzyMaker = memo Fuzzy.m... | lamdu/lamdu | test/Tests/FuzzySearch.hs | gpl-3.0 | 586 | 0 | 13 | 138 | 191 | 109 | 82 | -1 | -1 |
-- Module : Network.AWS.Lambda
-- Copyright : (c) 2013-2014 Brendan Hay <brendan.g.hay@gmail.com>
-- License : This Source Code Form is subject to the terms of
-- the Mozilla Public License, v. 2.0.
-- A copy of the MPL can be found in the LICENSE file or
-- you can ... | dysinger/amazonka | amazonka-lambda/gen/Network/AWS/Lambda.hs | mpl-2.0 | 2,493 | 0 | 5 | 392 | 211 | 160 | 51 | 25 | 0 |
-- This Source Code Form is subject to the terms of the Mozilla Public
-- License, v. 2.0. If a copy of the MPL was not distributed with this
-- file, You can obtain one at http://mozilla.org/MPL/2.0/.
{-# LANGUAGE CPP #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
module Database.CQL.IO.Batch... | twittner/cql-io | src/Database/CQL/IO/Batch.hs | mpl-2.0 | 2,614 | 0 | 15 | 604 | 774 | 410 | 364 | 54 | 3 |
{-# LANGUAGE DataKinds #-}
{-# LANGUAGE DeriveDataTypeable #-}
{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE FlexibleInstances #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE TypeFamilies #-}
{-# LANGUAGE TypeOperators ... | brendanhay/gogol | gogol-dataproc/gen/Network/Google/Resource/Dataproc/Projects/Locations/WorkflowTemplates/Create.hs | mpl-2.0 | 6,242 | 0 | 17 | 1,320 | 787 | 462 | 325 | 121 | 1 |
{-# LANGUAGE OverloadedStrings, ScopedTypeVariables #-}
module Model.Citation.CrossRefTest where
import Data.Maybe
import Network.URI
import Test.Tasty.HUnit
import Model.Citation.CrossRef
unit_uriHDL :: Assertion
unit_uriHDL =
-- example
(uriHDL . fromJust . parseURI) "http://google.com" @?= Nothing
-- typica... | databrary/databrary | test/Model/Citation/CrossRefTest.hs | agpl-3.0 | 338 | 0 | 9 | 47 | 61 | 38 | 23 | 9 | 1 |
module Git.Command.Difftool (run) where
run :: [String] -> IO ()
run args = return () | wereHamster/yag | Git/Command/Difftool.hs | unlicense | 86 | 0 | 7 | 15 | 42 | 23 | 19 | 3 | 1 |
module Statements where
import Control.Applicative ((*>), (<$>), (<*),
(<*>))
import Control.Monad
import Text.ParserCombinators.Parsec
import Text.ParserCombinators.Parsec.Expr
import Text.Par... | lolepezy/hajs | src/Statements.hs | unlicense | 2,085 | 0 | 15 | 518 | 634 | 316 | 318 | 48 | 2 |
{-# LANGUAGE OverloadedStrings #-}
{-
Created : 2015 Aug 26 (Wed) 11:56:37 by Harold Carr.
Last Modified : 2015 Sep 15 (Tue) 20:50:44 by Harold Carr.
-}
module Service.Interact
(
GetUser
, PutUser
, getUserPutUser
, input
, mkInvalidMethodOrRoute
, mkInvalidMsgRe... | haroldcarr/utah-haskell | future/src/Service/Interact.hs | apache-2.0 | 4,805 | 0 | 12 | 1,596 | 1,387 | 714 | 673 | 104 | 2 |
module EKG.A268611Spec (main, spec) where
import Test.Hspec
import EKG.A268611 (a268611)
main :: IO ()
main = hspec spec
spec :: Spec
spec = describe "A268611" $
it "correctly computes the first 20 elements" $
take 20 (map a268611 [1..]) `shouldBe` expectedValue where
expectedValue = [0,2,1,0,1,0,5,0,1,0,... | peterokagey/haskellOEIS | test/EKG/A268611Spec.hs | apache-2.0 | 344 | 0 | 10 | 59 | 166 | 98 | 68 | 10 | 1 |
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE DeriveGeneric #-}
-- | Provides the `adaDelta` function which implements the AdaDelta algorithm
-- as described in the following paper:
--
-- * https://arxiv.org/pdf/1212.5701.pdf
module Numeric.SGD.AdaDelta
( Config(..)
, adaDelta
) where
import G... | kawu/sgd | src/Numeric/SGD/AdaDelta.hs | bsd-2-clause | 2,196 | 0 | 15 | 594 | 545 | 308 | 237 | 49 | 1 |
{-# LANGUAGE RecordWildCards #-}
-----------------------------------------------------------------------------
-- |
-- Module : Application.HXournal.StartUp
-- Copyright : (c) 2012 Ian-Woo Kim
--
-- License : BSD3
-- Maintainer : Ian-Woo Kim <ianwookim@gmail.com>
-- Stability : experimental
-- Portabilit... | wavewave/hxournal | lib/Application/HXournal/StartUp.hs | bsd-2-clause | 1,617 | 0 | 11 | 307 | 265 | 152 | 113 | 29 | 2 |
{-# LANGUAGE TemplateHaskell, LambdaCase, MultiParamTypeClasses, TypeSynonymInstances, FlexibleInstances, QuasiQuotes #-}
{-# LANGUAGE DeriveFunctor, RankNTypes, TypeApplications, OverloadedStrings #-}
module AbstractInterpretation.Model where
import Grin.Grin hiding (SimpleType(..), Loc)
import Grin.TH hiding (text)
... | andorp/grin | grin/src/AbstractInterpretation/Model.hs | bsd-3-clause | 30,420 | 0 | 25 | 8,625 | 10,221 | 5,183 | 5,038 | -1 | -1 |
{-# LANGUAGE CPP, DeriveDataTypeable, PolymorphicComponents,
DeriveGeneric, FlexibleInstances, DefaultSignatures,
ScopedTypeVariables, Rank2Types #-}
#if __GLASGOW_HASKELL__ >= 707
{-# LANGUAGE RoleAnnotations #-}
{-# OPTIONS_GHC -fno-warn-inline-rule-shadowing #-}
#else
{-# OPTIONS_GHC -w #-... | urbanslug/ghc | libraries/template-haskell/Language/Haskell/TH/Syntax.hs | bsd-3-clause | 53,708 | 0 | 20 | 15,554 | 9,293 | 5,067 | 4,226 | 668 | 9 |
--------------------------------------------------------------------------------
-- |
-- Module : Graphics.Rendering.OpenGL.Raw.ARB.FramebufferNoAttachments
-- Copyright : (c) Sven Panne 2015
-- License : BSD3
--
-- Maintainer : Sven Panne <svenpanne@gmail.com>
-- Stability : stable
-- Portability : ... | phaazon/OpenGLRaw | src/Graphics/Rendering/OpenGL/Raw/ARB/FramebufferNoAttachments.hs | bsd-3-clause | 1,094 | 0 | 4 | 115 | 76 | 58 | 18 | 14 | 0 |
module Schedooler where
import Schedooler.Internal
| darthdeus/schedooler | src/Schedooler.hs | bsd-3-clause | 52 | 0 | 4 | 6 | 9 | 6 | 3 | 2 | 0 |
{-# LANGUAGE TypeSynonymInstances #-}
{-# LANGUAGE MultiParamTypeClasses #-}
{-# LANGUAGE FlexibleInstances #-}
module Surface where
import qualified Data.List as L
import qualified Data.Map as M
import Genetic
-- import Debug.Trace
data Term' var = X var
| Const Double
| Minus (Term'... | energyflowanalysis/efa-2.1 | sandbox/genetic_programming/Surface.hs | bsd-3-clause | 4,004 | 0 | 18 | 1,099 | 2,103 | 1,141 | 962 | 103 | 5 |
{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE FlexibleInstances #-}
{-# LANGUAGE FunctionalDependencies #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE MultiParamTypeClasses #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE TemplateHaskell #-}
---------------------------------------... | mjhopkins/hipchat | src/HipChat/AddOn/Dialog.hs | bsd-3-clause | 5,594 | 0 | 12 | 1,128 | 860 | 499 | 361 | 86 | 1 |
module Check (checkSyntax) where
import Control.Applicative
import Control.Monad
import CoreMonad
import ErrMsg
import Exception
import GHC
import GHCApi
import Prelude
import Types
----------------------------------------------------------------
checkSyntax :: Options -> Cradle -> String -> IO String
checkSyntax op... | eagletmt/ghc-mod | Check.hs | bsd-3-clause | 883 | 0 | 10 | 178 | 218 | 110 | 108 | 23 | 1 |
module HsParseMonad (module Language.Haskell.ParseMonad) where
import Language.Haskell.ParseMonad
| OS2World/DEV-UTIL-HUGS | oldlib/HsParseMonad.hs | bsd-3-clause | 98 | 0 | 5 | 7 | 19 | 13 | 6 | 2 | 0 |
module Haskell.Pretty where
import Prelude hiding ((<$>), exp)
import Text.PrettyPrint.Leijen.Text
import Core.Pretty
import Haskell.Types
| abbradar/dnohs | src/Haskell/Pretty.hs | bsd-3-clause | 142 | 0 | 5 | 17 | 37 | 25 | 12 | 5 | 0 |
{-# LANGUAGE CPP #-}
{-# LANGUAGE Rank2Types #-}
{-# LANGUAGE FunctionalDependencies #-}
{-# LANGUAGE ScopedTypeVariables #-}
{-# LANGUAGE TypeFamilies #-}
#if __GLASGOW_HASKELL__ >= 710
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE ViewPatterns #-}
{-# LANGUAGE Trustworthy #-}
#endif
#if __GLASGOW_HASKELL__ >= 800
{... | ddssff/lens | src/Control/Lens/Iso.hs | bsd-3-clause | 23,645 | 0 | 12 | 4,757 | 4,862 | 2,785 | 2,077 | -1 | -1 |
-- | This module contains various functions that add/update in the CG monad.
{-# LANGUAGE TupleSections #-}
{-# LANGUAGE BangPatterns #-}
{-# LANGUAGE PatternGuards #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE FlexibleContexts #-}
module Language.Haskell.Li... | abakst/liquidhaskell | src/Language/Haskell/Liquid/Constraint/Monad.hs | bsd-3-clause | 6,170 | 0 | 14 | 1,273 | 1,333 | 715 | 618 | 74 | 3 |
{-# LANGUAGE Rank2Types #-}
{-# LANGUAGE ScopedTypeVariables #-}
-- | Mutable data structures, etc.
module Feldspar.Mutable
( module Feldspar.Core.Frontend.Mutable
, module Feldspar.Core.Frontend.MutableArray
, module Feldspar.Core.Frontend.MutableReference
, module Feldspar.Core.Frontend.MutableToPure
, mo... | emwap/feldspar-language | src/Feldspar/Mutable.hs | bsd-3-clause | 2,568 | 0 | 16 | 596 | 788 | 411 | 377 | 55 | 1 |
{-# LANGUAGE ScopedTypeVariables #-}
module Network.TLS.Util
( sub
, takelast
, partition3
, partition6
, fromJust
, and'
, (&&!)
, bytesEq
, fmapEither
, catchException
) where
import Data.List (foldl')
import Network.TLS.Imports ... | tolysz/hs-tls | core/Network/TLS/Util.hs | bsd-3-clause | 2,579 | 0 | 11 | 759 | 1,027 | 546 | 481 | 63 | 2 |
{-# LANGUAGE TypeOperators #-}
{-# LANGUAGE DataKinds #-}
{-# LANGUAGE ScopedTypeVariables #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE Rank2Types #-}
module Main where
import Data.Binary
import qualified Data.ByteString.Lazy as Lazy
import Data.Binary.Get
import Control.Applicative... | Apsod/fixed | Data/Net/MNIST.hs | bsd-3-clause | 3,493 | 1 | 21 | 802 | 1,423 | 752 | 671 | 95 | 2 |
{-# OPTIONS -Wall -Werror #-}
-- | TAI and leap-second tables for converting to UTC: most people won't need this module.
module Data.Time.Clock.TAI
(
-- TAI arithmetic
AbsoluteTime,taiEpoch,addAbsoluteTime,diffAbsoluteTime,
-- leap-second table type
LeapSecondTable,
-- conversion between UTC and TAI with table
... | FranklinChen/hugs98-plus-Sep2006 | packages/time/Data/Time/Clock/TAI.hs | bsd-3-clause | 4,179 | 32 | 16 | 817 | 1,434 | 748 | 686 | 82 | 17 |
module Sexy.Instances.Pure.Function () where
import Sexy.Classes (Pure(..))
instance Pure ((->) a) where
pure x = \_ -> x
| DanBurton/sexy | src/Sexy/Instances/Pure/Function.hs | bsd-3-clause | 127 | 0 | 8 | 23 | 55 | 33 | 22 | 4 | 0 |
-- | This module is testing the ClientTypes module.
{-# LANGUAGE AllowAmbiguousTypes #-}
module Test.Pos.Explorer.Web.ClientTypesSpec
( spec
) where
import Universum
import Crypto.Hash (Blake2b_224, Blake2b_256)
import Prelude (id)
import Pos.Binary (Bi)
impor... | input-output-hk/pos-haskell-prototype | explorer/test/Test/Pos/Explorer/Web/ClientTypesSpec.hs | mit | 7,124 | 0 | 17 | 1,976 | 998 | 529 | 469 | -1 | -1 |
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE helpset PUBLIC "-//Sun Microsystems Inc.//DTD JavaHelp HelpSet Version 2.0//EN" "http://java.sun.com/products/javahelp/helpset_2_0.dtd">
<helpset version="2.0" xml:lang="ja-JP">
<title>検知技術 | ZAP拡張</title>
<maps>
<homeID>top</homeID>
<mapref location="map.... | veggiespam/zap-extensions | addOns/wappalyzer/src/main/javahelp/org/zaproxy/zap/extension/wappalyzer/resources/help_ja_JP/helpset_ja_JP.hs | apache-2.0 | 1,000 | 91 | 61 | 158 | 402 | 204 | 198 | -1 | -1 |
module System.Command.QQ.EmbedSpec (spec) where
import Data.Int
import Data.Ratio
import Data.Word
import Foreign.C.Types
import System.Command.QQ
import Test.Hspec
spec :: Spec
spec =
describe "embedding" $ do
describe "Haskell types" $ do
describe "numeric types" $ do
it "embeds Integer" $
... | biegunka/command-qq | test/System/Command/QQ/EmbedSpec.hs | bsd-2-clause | 2,459 | 0 | 18 | 860 | 831 | 432 | 399 | 73 | 1 |
{-# LANGUAGE OverloadedStrings, NoImplicitPrelude #-}
-- |This module has functions that are common patterns. They are just compositions of primitives.
module D3JS.Preset where
import Prelude hiding ((.),id)
import Control.Category
import Data.Text (Text)
import qualified Data.Text as T
import D3JS.Type
import D3JS... | ocramz/d3js-haskell | D3JS/Preset.hs | bsd-3-clause | 1,300 | 0 | 11 | 237 | 402 | 212 | 190 | 26 | 1 |
-- | DPH operations: how long they took, totals, etc
module DphOps
( dphOpsMachine
, dphOpsSumMachine
, DphTrace(..)
, ParseComp(..)
, parseComp
, getGangEvents
, pprGangEvents
, clearJoinComp
, clearJoinWhat)
where
import qualified Data.Array.Par... | mainland/dph | dph-event-seer/src/DphOps.hs | bsd-3-clause | 8,098 | 2 | 16 | 2,328 | 2,869 | 1,469 | 1,400 | -1 | -1 |
module Tuura.Plato.BoolToConcept.Options (Options(..), getOptions) where
import Data.Foldable (foldlM)
import System.Console.GetOpt
import System.Environment
data Options = Options
{ optSet :: String
, optReset :: String
, optOutput :: String -> IO ()
, optEffect :: String
, optHelp :: ... | tuura/concepts | src/Tuura/Plato/BoolToConcept/Options.hs | bsd-3-clause | 2,020 | 0 | 16 | 522 | 634 | 345 | 289 | 55 | 2 |
{-# LANGUAGE ParallelListComp #-}
module DotP where
import Random
import System.Random.MWC
import Data.Array.Unboxed
import Data.Array.Accelerate as Acc
-- Dot product
-- -----------
dotpAcc :: Vector Float -> Vector Float -> Acc (Scalar Float)
dotpAcc xs ys
= let
xs' = use xs
ys' = use ys
in
... | blambo/accelerate-examples | tests/simple/DotP.hs | bsd-3-clause | 937 | 1 | 12 | 243 | 401 | 204 | 197 | 27 | 1 |
{-# LANGUAGE Trustworthy #-}
{-# LANGUAGE CPP, NoImplicitPrelude #-}
{-# OPTIONS_GHC -funbox-strict-fields -fno-warn-name-shadowing #-}
-----------------------------------------------------------------------------
-- |
-- Module : Data.HashTable
-- Copyright : (c) The University of Glasgow 2003
-- License ... | beni55/haste-compiler | libraries/ghc-7.8/base/Data/HashTable.hs | bsd-3-clause | 18,882 | 0 | 23 | 4,360 | 3,691 | 2,069 | 1,622 | 269 | 4 |
{-
Author: George Karachalias <george.karachalias@cs.kuleuven.be>
The term equality oracle. The main export of the module is function `tmOracle'.
-}
{-# LANGUAGE CPP, MultiWayIf #-}
module TmOracle (
-- re-exported from PmExpr
PmExpr(..), PmLit(..), SimpleEq, ComplexEq, PmVarEnv, falsePmExpr,
... | tjakway/ghcjvm | compiler/deSugar/TmOracle.hs | bsd-3-clause | 10,379 | 0 | 18 | 2,354 | 2,409 | 1,311 | 1,098 | 132 | 14 |
{-# LANGUAGE CPP #-}
--------------------------------------------------------------------------------
-- | Boolean formulas without quantifiers and without negation.
-- Such a formula consists of variables, conjunctions (and), and disjunctions (or).
--
-- This module is used to represent minimal complete definitions f... | urbanslug/ghc | compiler/utils/BooleanFormula.hs | bsd-3-clause | 7,658 | 0 | 13 | 1,599 | 1,904 | 979 | 925 | 106 | 5 |
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE ScopedTypeVariables #-}
module ExtraConstraintsWildcardInPatternSplice where
foo $( [p| (x :: _) |] ) = x
| acowley/ghc | testsuite/tests/partial-sigs/should_fail/ExtraConstraintsWildcardInPatternSplice.hs | bsd-3-clause | 153 | 0 | 7 | 22 | 22 | 15 | 7 | 4 | 1 |
{-# OPTIONS_GHC -fno-warn-redundant-constraints #-}
-- trac #1406: Constraint doesn't reduce in the presence of quantified
-- type variables
{-# LANGUAGE FlexibleInstances, UndecidableInstances, RankNTypes,
MultiParamTypeClasses, FunctionalDependencies #-}
module Problem where
data Z
data S... | urbanslug/ghc | testsuite/tests/typecheck/should_compile/tc229.hs | bsd-3-clause | 809 | 0 | 8 | 180 | 238 | 126 | 112 | -1 | -1 |
bogus
module Haskell.SyntaxError where
| jglievano/emma | vendor/flycheck/test/resources/language/haskell/SyntaxError.hs | mit | 40 | 0 | 6 | 5 | 14 | 5 | 9 | -1 | -1 |
module Mod157_A (T(..)) where
data T = A | B | C
| wxwxwwxxx/ghc | testsuite/tests/module/Mod157_A.hs | bsd-3-clause | 51 | 0 | 5 | 14 | 26 | 17 | 9 | 2 | 0 |
{-# LANGUAGE BangPatterns #-}
module Graphics.Perfract.Boxes where
import Codec.Picture
import Control.Applicative
import Control.Arrow
import Control.Concurrent.ParallelIO
import Control.DeepSeq
import Control.Monad
import Data.List
import Data.Time
import qualified Data.Vector.Mutable as MVec
import qualified Data.... | dancor/perfract | src/Graphics/Perfract/Boxes.hs | mit | 9,029 | 0 | 18 | 2,869 | 3,145 | 1,588 | 1,557 | 193 | 9 |
-- Reversing Fun
-- http://www.codewars.com/kata/566efcfbf521a3cfd2000056/
module Codewars.G964.Funreverse where
reverseFun :: String -> String
reverseFun s = take ((`div` 2) . length $ doubleS) doubleS
where doubleS = concat . zipWith f (reverse s) $ s
f c1 c2 = [c1,c2]
| gafiatulin/codewars | src/7 kyu/Funreverse.hs | mit | 288 | 0 | 11 | 56 | 90 | 51 | 39 | 5 | 1 |
import Test.HUnit
import Q40
test1 = TestCase (assertEqual "tryGoldbach (-1) should be ." (Right "Nonpositive integer is not supported") (tryGoldbach (-1)))
test2 = TestCase (assertEqual "tryGoldbach 0 should be ." (Right "Nonpositive integer is not supported") (tryGoldbach 0 ))
test3 = TestCase (assertEqual "try... | cshung/MiscLab | Haskell99/q40.test.hs | mit | 730 | 0 | 11 | 173 | 197 | 103 | 94 | 8 | 1 |
{-|
Module: Y2015.D02
Description: Advent of Code Day 02 Solutions.
License: MIT
Maintainer: @tylerjl
Solutions to the day 02 set of problems for <adventofcode.com>.
-}
module Y2015.D02
( Present(..)
, parsePresents
, surfaceArea
, ribbonLength
) where
import Data.List (foldl', sort)
import qualif... | tylerjl/adventofcode | src/Y2015/D02.hs | mit | 1,853 | 0 | 12 | 392 | 524 | 285 | 239 | 45 | 2 |
{-# LANGUAGE ViewPatterns #-}
module Data.Twitter where
-- data types for tweet representation
import Control.Arrow ((&&&))
import Data.Time hiding (parseTime)
import Control.Scan.CSV (rend)
import Data.Time.Calendar.Month (readTweetDate)
-- Tweet -----------------------------------------------------------------
... | geophf/1HaskellADay | exercises/HAD/Data/Twitter.hs | mit | 1,891 | 0 | 9 | 344 | 415 | 249 | 166 | 25 | 1 |
module Eval (eval, apply) where
import LispVals
import LispEnvironment
import Control.Monad.Trans (lift, liftIO)
import Control.Monad (liftM)
import Control.Monad.Error (throwError)
import Data.Maybe (isNothing)
eval :: LispVal -> LispEval
eval val@(String _) = return val
eval val@(Number _) = return val
eval val@(Bo... | tismith/tlisp | src/Eval.hs | mit | 2,090 | 0 | 13 | 488 | 826 | 409 | 417 | 51 | 3 |
{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE OverloadedStrings #-}
module Network.Filepicker.Policy
( Policy(..)
, Call(..)
, expiryToPolicy
, addCall
, setHandle
, encodePolicyBS
, encodePolicyText
, encodePolicyS
, encodePolicyParamBS
, encodePolicyParamText
, encodePolicyParamS
) where
im... | circuithub/haskell-filepicker-policy | Network/Filepicker/Policy.hs | mit | 6,288 | 0 | 13 | 1,504 | 1,265 | 734 | 531 | 105 | 1 |
{-# LANGUAGE LambdaCase, ViewPatterns,ScopedTypeVariables, NoMonomorphismRestriction #-}
module Syntax.ShellQQ where
import Language.Haskell.TH
import Language.Haskell.TH.Quote
--how to deal with concurrency?
| ducis/shqq | Syntax/ShellQQ/LazyIO.hs | mit | 211 | 0 | 4 | 20 | 21 | 15 | 6 | 4 | 0 |
{-# LANGUAGE TemplateHaskell #-}
module Main where
import Test.Framework.TH
import Test.HUnit
import Test.QuickCheck
import Test.Framework.Providers.HUnit
import Test.Framework.Providers.QuickCheck2
import System.IO.Unsafe
import qualified Data.Vector as V
import qualified Data.Text.Lazy as LT
import Data.Foldable a... | luispedro/alist | AListTest.hs | mit | 838 | 0 | 12 | 120 | 320 | 191 | 129 | 20 | 1 |
-- messing with returns
main = do
return ()
return "ahahaa"
line <- getLine
return 4
return line
putStrLn line
| doylew/practice | haskell/mainplay.hs | mit | 124 | 0 | 8 | 33 | 46 | 18 | 28 | 7 | 1 |
{-# LANGUAGE TemplateHaskell #-}
import Data.FileEmbed (embedStringFile, makeRelativeToProject)
import Data.String (IsString)
import qualified Data.Text.IO as TIO
import Serokell.Util (measureTime_, show')
import Orchid.Executor (Optimization (..), executeProgram)
ta... | gromakovsky/Orchid | bench/Main.hs | mit | 773 | 0 | 8 | 169 | 184 | 98 | 86 | 21 | 1 |
{-# LANGUAGE TemplateHaskell, CPP, MultiParamTypeClasses #-}
-- | Offline mode / RC file / -e support module. Handles spooling lists
-- of commands (from haskeline, files, or the command line) into the vchat
-- layer.
module Plugin.OfflineRC (theModule) where
import Plugin
import System.IO( hPutStrLn, hFlush, stdout ... | jwiegley/lambdabot-1 | Plugin/OfflineRC.hs | mit | 4,051 | 0 | 15 | 1,591 | 1,053 | 527 | 526 | 75 | 3 |
{-# LANGUAGE FlexibleContexts #-}
{-|
Module : PostgREST.Auth
Description : PostgREST authorization functions.
This module provides functions to deal with the JWT authorization (http://jwt.io).
It also can be used to define other authorization functions,
in the future Oauth, LDAP and similar integrations can be c... | NikolayS/postgrest | src/PostgREST/Auth.hs | mit | 3,272 | 0 | 11 | 930 | 570 | 316 | 254 | 45 | 3 |
{-# LANGUAGE ConstraintKinds #-}
{-# LANGUAGE QuasiQuotes #-}
{-# LANGUAGE TypeFamilies #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE FlexibleContexts #-}
{-# LANGUAGE CPP #-}
-- | Field functions allow you to easily create and validate forms, cleanly handling the uncer... | psibi/yesod | yesod-form/Yesod/Form/Fields.hs | mit | 34,879 | 0 | 22 | 8,894 | 7,257 | 3,924 | 3,333 | -1 | -1 |
module WykopTop (
indexTop
, dateTop
, hitsTop
, module WykopTypes
) where
import WykopTypes
import WykopUtils
import Data.Map (Map)
indexTop :: Keys -> Int -> IO (Maybe (Map String [Link]))
indexTop k year = get k [] [] $ "top/index/" ++ show year
dateTop :: Keys -> Int -> Int -> IO (Maybe [L... | mikusp/hwykop | WykopTop.hs | mit | 508 | 0 | 12 | 131 | 221 | 115 | 106 | 15 | 1 |
module Javelin.Lib.ByteCode.Attribute where
import qualified Data.Binary.Get as Get
import Data.ByteString (unpack)
import qualified Data.ByteString.UTF8 as BS
import qualified Data.Map.Lazy as Map (Map, findWithDefault, fromList, lookup)
import Data.Word (Word32, Word8)
import Javelin.Lib.ByteCode.Data
import Javeli... | antonlogvinenko/javelin | src/Javelin/Lib/ByteCode/Attribute.hs | mit | 20,334 | 0 | 15 | 4,365 | 6,208 | 3,447 | 2,761 | 536 | 14 |
{-# LANGUAGE TemplateHaskell #-}
module Main where
import Control.Applicative
import Control.Lens
import qualified Data.Map as Map
import FRP.Helm
import qualified FRP.Helm.Automaton as Auto
import FRP.Helm.Keyboard
import FRP.Helm.Text
import FRP.... | theguruofreason/CraftRL | Main.hs | gpl-2.0 | 1,932 | 0 | 12 | 498 | 656 | 364 | 292 | 44 | 1 |
--
-- Copyright (c) 2013 Citrix Systems, Inc.
--
-- 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; either version 2 of the License, or
-- (at your option) any later version.
--
-- This progra... | OpenXT/network | nwd/NetworkSlaveMethods.hs | gpl-2.0 | 14,972 | 6 | 20 | 3,757 | 4,078 | 2,056 | 2,022 | 276 | 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.