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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
-- Copyright 2020-2021 Google LLC
--
-- 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 applicable law or agreed t... | google/hs-dependent-literals | dependent-literals/src/DependentLiterals/Int.hs | apache-2.0 | 17,176 | 0 | 14 | 3,331 | 3,760 | 2,048 | 1,712 | -1 | -1 |
--
-- (c) The University of Glasgow 2002-2006
--
-- Functions over HsSyn specialised to RdrName.
{-# LANGUAGE CPP #-}
{-# LANGUAGE FlexibleContexts #-}
module RdrHsSyn (
mkHsOpApp,
mkHsIntegral, mkHsFractional, mkHsIsString,
mkHsDo, mkSpliceDecl,
mkRoleAnnotDecl,
mkClassDecl,... | gcampax/ghc | compiler/parser/RdrHsSyn.hs | bsd-3-clause | 64,020 | 33 | 28 | 20,176 | 16,862 | 8,547 | 8,315 | 1,024 | 23 |
module Language.Dispatch.Parser where
import Text.ParserCombinators.Parsec
import Language.Dispatch.AST as A
eol = string "\r\n"
<|> string "\n"
-- consumes all comments and whitespace
consumeWSC = optional $ many1 (ws1 <|> comment <|> eol)
wsc =
do ws
optional comment
ws = optional ws1
ws1 =... | blajzer/dispatch | Language/Dispatch/Parser.hs | bsd-3-clause | 2,866 | 0 | 12 | 843 | 915 | 420 | 495 | 101 | 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 OverloadedStrings #-}
module Duckling.Time.HR.Corpus
( corpus
) where
import Data.String
import... | facebookincubator/duckling | Duckling/Time/HR/Corpus.hs | bsd-3-clause | 23,640 | 0 | 11 | 9,844 | 7,827 | 4,756 | 3,071 | 488 | 1 |
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE UndecidableInstances #-}
-- | Representations for specific types
--
-- The reason for using symbol names ending with @_t@ is that 'deriveRender'
-- uses everything that comes before @_@ when rendering the constructor.
module Data.TypeRep.Types.Basic where
import qualif... | emilaxelsson/open-typerep | src/Data/TypeRep/Types/Basic.hs | bsd-3-clause | 5,675 | 0 | 12 | 949 | 1,784 | 819 | 965 | -1 | -1 |
{-# LANGUAGE FlexibleContexts #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE RankNTypes #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE TupleSections #-}
{-# LANGUAGE DeriveDataTypeable #-}
{-# LANGUAGE DeriveGeneric #-}
module Stack.PackageDump
( Line
, eachSe... | athanclark/stack | src/Stack/PackageDump.hs | bsd-3-clause | 15,790 | 0 | 27 | 5,212 | 4,031 | 2,066 | 1,965 | -1 | -1 |
{-# LANGUAGE OverloadedStrings, TypeFamilies #-}
module QueryArrow.RPC.DB where
import QueryArrow.DB.ResultStream
import QueryArrow.DB.DB hiding (Null)
import QueryArrow.Syntax.Term
import QueryArrow.Semantics.Value
import QueryArrow.Semantics.TypeChecker
import QueryArrow.Syntax.Type
import QueryArrow.Utils
import Q... | xu-hao/QueryArrow | QueryArrow-rpc-common/src/QueryArrow/RPC/DB.hs | bsd-3-clause | 3,551 | 0 | 25 | 1,583 | 704 | 371 | 333 | 50 | 6 |
{- FSQL : Query.hs -- Query data types, instances and functions
-
- Copyright (C) 2015 gahag
- All rights reserved.
-
- This software may be modified and distributed under the terms
- of the BSD license. See the LICENSE file for details.
-}
{-# LANGUAGE LambdaCase #-}
module Query (
Query(..), Selection(..... | gahag/FSQL | src/Query.hs | bsd-3-clause | 5,156 | 0 | 12 | 1,803 | 1,096 | 603 | 493 | 77 | 7 |
{-# OPTIONS_GHC -fno-warn-orphans #-}
module Application
( getApplicationDev
, appMain
, develMain
, makeFoundation
, makeLogWare
-- * for DevelMain
, getApplicationRepl
, shutdownApp
-- * for GHCI
, handler
, db
) where
import Control.Monad.Logger (liftL... | league/yesod-crud | example/Application.hs | bsd-3-clause | 7,272 | 0 | 16 | 1,944 | 1,149 | 615 | 534 | -1 | -1 |
{-# LANGUAGE FlexibleInstances, TypeFamilies, OverloadedStrings #-}
{- |
Support for using Reform with the Haskell Web Framework Happstack. <http://happstack.com/>
-}
module Text.Reform.Happstack where
import Control.Applicative (Applicative((<*>)), Alternative, (<$>), (<|>), (*>), optional)
import Con... | Happstack/reform-happstack | Text/Reform/Happstack.hs | bsd-3-clause | 10,064 | 0 | 22 | 3,145 | 2,166 | 1,198 | 968 | 133 | 3 |
{-# LANGUAGE NoImplicitPrelude #-}
{-# LANGUAGE RankNTypes #-}
-- |
-- Module: $HEADER$
-- Description: Utility functions built on top of core API.
-- Copyright: (c) 2009-2015, Peter Trško
-- License: BSD3
--
-- Stability: provisional
-- Portability: NoImplicitPrelude, RankNTypes
--
-- Utility functi... | trskop/tagged-exception-core | src/Control/Monad/TaggedException/Utilities.hs | bsd-3-clause | 1,133 | 0 | 5 | 233 | 81 | 61 | 20 | 19 | 0 |
{-# LANGUAGE OverloadedStrings #-}
module Data.IHO.S52.SVG.Helper where
import Data.Monoid
import Data.Text (Text)
import Text.Blaze.Svg (Svg)
import Text.Blaze.Internal ((!))
import qualified Text.Blaze.Internal as SVG
import qualified Text.Blaze.Svg11 as SVG
import qualified Text.Blaze.Svg11.Attributes as A
import D... | alios/iho-presentation | Data/IHO/S52/SVG/Helper.hs | bsd-3-clause | 2,369 | 0 | 12 | 511 | 940 | 505 | 435 | 56 | 1 |
module Input
( getNote
, trim
) where
import Data.List (dropWhileEnd)
import Data.Char (isSpace)
--
-- |The 'trim' function strips the string from leading spaces and extra spaces at the end
trim :: String -> String
trim = dropWhileEnd isWhiteSpace . dropWhile isWhiteSpace
where isWhiteSpace = flip... | klausweiss/linotes | src/Input.hs | bsd-3-clause | 698 | 0 | 13 | 180 | 160 | 86 | 74 | 16 | 2 |
module Main where
import Data.List
import Sudoku
import SudokuParser
import Text.ParserCombinators.Parsec
-- Read the sudoku file from standard input
main :: IO ()
main =
do c <- getContents
case parse parseMatrix "(stdin)" c of
Left e -> do putStrLn "Error parsing input:"
... | jaapterwoerds/algorithmx | src/Main.hs | bsd-3-clause | 2,522 | 0 | 14 | 929 | 830 | 434 | 396 | 44 | 2 |
{-# LANGUAGE InstanceSigs #-}
module Data.Wrapped where
import Control.Applicative (Applicative(..))
import Data.Default
-- | This is a wrapper type made specifically for `Compilable` instances.
-- 'a' should be a functional type and 'b' the \"last\" return type of that
-- function. In all instances, `a` is consider... | michaeljklein/CPlug | src/Data/Wrapped.hs | bsd-3-clause | 2,003 | 0 | 9 | 450 | 733 | 376 | 357 | 38 | 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.
module Duckling.Time.AR.Tests
( tests ) where
import Data.String
import Prelude
import Test.Tasty
import Duck... | facebookincubator/duckling | tests/Duckling/Time/AR/Tests.hs | bsd-3-clause | 549 | 0 | 9 | 85 | 93 | 57 | 36 | 12 | 1 |
import System.Environment
import Funque.Stomp.Parser
newtype BrokerContext = BrokerContext ()
type BrokerFactory = IO BrokerContext
type ApiHandlers a = a -> BrokerContext -> IO BrokerContext
makeBroker :: ApiHandlers a -> BrokerFactory
makeBroker _ = return $ BrokerContext ()
withBroker :: BrokerFactory -> (Broke... | vokhotnikov/funque | test/pingpong.hs | bsd-3-clause | 1,339 | 0 | 13 | 283 | 465 | 230 | 235 | 39 | 3 |
{-# LANGUAGE TypeOperators #-}
module Demo1 (demo) where
import Browser.Element
import Browser.Mouse
import Core.Val
import Prelude hiding (mod, max, min, reverse, sin, (&&), (||), not, sin, cos, floor, (==))
import Property.Color
import Property.Geometry
import Property.Text
import Value.Boolean
import Value.List
de... | sebastiaanvisser/frp-js | src/Demo1.hs | bsd-3-clause | 1,613 | 0 | 22 | 481 | 803 | 416 | 387 | 42 | 1 |
--------------------------------------------------------------------------------
-- |
-- Module : Graphics.Rendering.OpenGL.Raw.EXT.FramebufferMultisample
-- Copyright : (c) Sven Panne 2015
-- License : BSD3
--
-- Maintainer : Sven Panne <svenpanne@gmail.com>
-- Stability : stable
-- Portability : p... | phaazon/OpenGLRaw | src/Graphics/Rendering/OpenGL/Raw/EXT/FramebufferMultisample.hs | bsd-3-clause | 866 | 0 | 4 | 94 | 55 | 44 | 11 | 7 | 0 |
module SquaresWithThreeSides (solve) where
import Text.Parsec (parse)
import Text.Parsec.Char (digit, char)
import Text.Parsec.Prim (skipMany)
import Text.Parsec.Combinator (many1, eof, skipMany1, count)
eol = char '\n'
sideLength = read <$> many1 digit
tripletLine = (\(a:b:c:_) -> (a, b, c)) <$> count 3 (skipMany (c... | cjlarose/advent-2016 | src/SquaresWithThreeSides.hs | bsd-3-clause | 1,038 | 0 | 16 | 225 | 489 | 266 | 223 | 25 | 2 |
{-# LANGUAGE OverloadedLists #-}
{-# LANGUAGE RankNTypes #-}
-- | Specification of 'Pos.Chain.Block.VAR'.
module Test.Pos.Block.Logic.VarSpec
( spec
) where
import Universum hiding ((<>))
import Control.Monad.Random.Strict (MonadRandom (..), RandomGen,
eva... | input-output-hk/pos-haskell-prototype | generator/test/Test/Pos/Block/Logic/VarSpec.hs | mit | 22,246 | 0 | 25 | 6,602 | 3,933 | 2,031 | 1,902 | -1 | -1 |
module Database.DBCleaner.Types where
data Strategy = Transaction -- ^ Wraps all the queries inside a transaction and
-- rollback everything once the execution is done.
| Truncation -- ^ Truncate all the tables after the execution of
-- the que... | stackbuilders/dbcleaner | src/Database/DBCleaner/Types.hs | mit | 326 | 0 | 5 | 116 | 21 | 15 | 6 | 3 | 0 |
{-# LANGUAGE DeriveDataTypeable #-}
{- |
Module : $Header$
Description : OWL Morphisms
Copyright : (c) Dominik Luecke, 2008, Felix Gabriel Mance, 2011
License : GPLv2 or higher, see LICENSE.txt
Maintainer : f.mance@jacobs-university.de
Stability : provisional
Portability : portable
Morphisms for ... | mariefarrell/Hets | OWL2/Morphism.hs | gpl-2.0 | 7,065 | 0 | 22 | 2,022 | 2,767 | 1,410 | 1,357 | 164 | 9 |
module End.Header.Object where
import End.Collection
import End.Header.Animation
import qualified Data.ByteString.Char8 as B
data Obj = Obj
{ _objIden :: Int
, _objName :: B.ByteString
, _objSpriteStatus :: SpriteStatus
, _objPos :: Pos
, _objVel :: Vel
, _objExpire :... | kwrooijen/sdl-game | End/Header/Object.hs | gpl-3.0 | 1,021 | 0 | 11 | 372 | 295 | 167 | 128 | -1 | -1 |
{-# OPTIONS_GHC -funbox-strict-fields #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE ScopedTypeVariables #-}
{-# LANGUAGE TupleSections #-}
module Main where
import Control.Applicative ((<$>))
import Control.Arrow (second)
import ... | bbangert/push-tester | spTester/Main.hs | mpl-2.0 | 11,115 | 0 | 17 | 2,913 | 2,714 | 1,416 | 1,298 | 206 | 2 |
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# LANGUAGE OverloadedStrings #-}
module Ambiata.Cli.Api.Upload (
obtainCredentialsForUpload
) where
import Ambiata.Cli.Data
import Ambiata.Cli.Http
import qualified Ambiata.Cli.Json.Upload as JU
import Ambiata.Cli.Rest... | ambiata/tatooine-cli | src/Ambiata/Cli/Api/Upload.hs | apache-2.0 | 761 | 0 | 12 | 197 | 146 | 87 | 59 | 23 | 2 |
{-# OPTIONS_GHC -Wall #-}
{-|
The root module for the language of Fortran operators.
"Language.Expression" provides a way of forming expressions from what we call
/operators/, via 'HFree'.
For any type constructor @op@ of kind @(* -> *) -> * -> *@, @'HFree' op v a@ can
be seen as an /expression/ over @op@. @op@ def... | dorchard/camfort | src/Language/Fortran/Model/Op.hs | apache-2.0 | 1,788 | 0 | 5 | 355 | 67 | 52 | 15 | 9 | 0 |
{-|
Module : Combinatorics
Description : Combinatorics module for the MPL DSL
Copyright : (c) Rohit Jha, 2015
License : BSD2
Maintainer : rohit305jha@gmail.com
Stability : Stable
Functionality for:
* Factorial
* Finding number of combinations
* Finding number of permutations
* Generating permutation... | rohitjha/MPL | src/Combinatorics.hs | bsd-2-clause | 4,062 | 0 | 13 | 1,116 | 548 | 282 | 266 | 43 | 2 |
{-# LANGUAGE ForeignFunctionInterface, EmptyDataDecls, CPP #-}
--------------------------------------------------------------------
-- |
-- Module : Network.Curl.Types
-- Copyright : (c) Galois Inc 2007-2009
-- License : BSD3
--
-- Maintainer: Sigbjorn Finne <sof@galois.com>
-- Stability : provisional
-- Portabili... | scrive/curl | Network/Curl/Types.hs | bsd-3-clause | 4,836 | 0 | 13 | 1,048 | 964 | 503 | 461 | -1 | -1 |
{-# LANGUAGE ScopedTypeVariables #-}
errors= do
let ls :: Int = undefined
return ()
| mpickering/ghc-exactprint | tests/examples/ghc710/OptSig2.hs | bsd-3-clause | 89 | 0 | 10 | 19 | 29 | 13 | 16 | 4 | 1 |
{-# LANGUAGE CPP, GeneralizedNewtypeDeriving, ConstraintKinds, PatternGuards, StandaloneDeriving #-}
#if !(MIN_VERSION_base(4,8,0))
{-# LANGUAGE OverlappingInstances #-}
#endif
module Idris.ParseHelpers where
import Prelude hiding (pi)
import Text.Trifecta.Delta
import Text.Trifecta hiding (span, stringLiteral, charL... | uwap/Idris-dev | src/Idris/ParseHelpers.hs | bsd-3-clause | 26,320 | 0 | 25 | 8,626 | 7,542 | 3,852 | 3,690 | 441 | 8 |
module Bench.Shared where
{-# INLINE replicateM_' #-}
replicateM_' :: Monad m => Int -> m () -> m ()
replicateM_' n f = go n
where
go 0 = return ()
go n = do
f
go (n - 1)
| grumply/mop | bench/Bench/Shared.hs | bsd-3-clause | 195 | 0 | 11 | 64 | 89 | 43 | 46 | 8 | 2 |
{-# OPTIONS_GHC -fno-warn-unused-binds #-}
{-# LANGUAGE OverloadedStrings, ForeignFunctionInterface, CPP, MagicHash #-}
-- | JSString standard functions, to make them a more viable alternative to
-- the horribly inefficient standard Strings.
--
-- Many functions have linear time complexity due to JavaScript engines... | akru/haste-compiler | libraries/haste-lib/src/Haste/JSString.hs | bsd-3-clause | 10,355 | 172 | 14 | 2,068 | 2,255 | 1,316 | 939 | 131 | 2 |
import Test.Cabal.Prelude
-- Internal library used by public library; it must be installed and
-- registered.
main = setupAndCabalTest $
withPackageDb $ do
withDirectory "foolib" $ setup_install []
withDirectory "fooexe" $ do
setup_build []
runExe' "fooexe" []
... | mydaum/cabal | cabal-testsuite/PackageTests/InternalLibraries/Library/setup.test.hs | bsd-3-clause | 351 | 0 | 13 | 100 | 72 | 33 | 39 | 8 | 1 |
-- this is being re-worked into a general-purpose testing module for Yesod apps
module YesodCoreTest.YesodTest
( yesod
, parseRoutes, mkYesod, yesodDispatch, renderRoute, Yesod(..)
, redirect
, Approot (..)
, module Network.Wai
, module Network.Wai.Test
, module Test.Hspec
) where
import Yesod.Core
impor... | ygale/yesod | yesod-core/test/YesodCoreTest/YesodTest.hs | mit | 472 | 0 | 8 | 84 | 127 | 75 | 52 | 14 | 1 |
{-
Copyright (C) 2012-2014 John MacFarlane <jgm@berkeley.edu>
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 program is ... | mindriot101/pandoc | benchmark/benchmark-pandoc.hs | gpl-2.0 | 2,331 | 0 | 16 | 533 | 575 | 298 | 277 | 40 | 2 |
#!/usr/bin/env runhaskell
import Control.Exception (catch, SomeException)
import System.Environment (getProgName)
import System.Directory (doesFileExist)
main :: IO ()
main = do
path <- getProgName
exists <- doesFileExist path
-- Read w/o exception
input1 <- if exists then readFile path else return ""
putStr... | amerlyq/aeternum | languages/haskell/suit/open.hs | mit | 472 | 0 | 12 | 83 | 153 | 78 | 75 | 11 | 2 |
{-# LANGUAGE OverloadedStrings #-}
import Control.Applicative
import qualified Data.ByteString.Lazy as BL
import qualified Data.ByteString as BS
import Data.Csv
import qualified Data.Vector as V
data Event = Event
{ date1 :: !String
, date2 :: !String
, date3 :: !String
, amount :: ... | teijo/tograph | src/Main.hs | mit | 1,279 | 0 | 31 | 440 | 370 | 198 | 172 | 68 | 2 |
-- Copyright (c) Microsoft. All rights reserved.
-- Licensed under the MIT license. See LICENSE file in the project root for full license information.
{-# LANGUAGE QuasiQuotes, OverloadedStrings, RecordWildCards #-}
module Language.Bond.Codegen.Cs.Util
( typeAttributes
, propertyAttributes
, schemaAttribu... | upsoft/bond | compiler/src/Language/Bond/Codegen/Cs/Util.hs | mit | 5,007 | 0 | 13 | 898 | 1,005 | 563 | 442 | 85 | 14 |
{-# LANGUAGE CPP #-}
--------------------------------------------------
{-# OPTIONS_GHC -fno-warn-missing-signatures #-}
--------------------------------------------------
--------------------------------------------------
#include <sboo-base-feature-macros.h>
--------------------------------------------------
im... | sboosali/enumerate | enumerate/tests/DocTests.hs | mit | 3,755 | 0 | 11 | 461 | 430 | 246 | 184 | -1 | -1 |
import Test.HUnit
import AvlSet
assertEqualIntList :: String -> [Int] -> [Int] -> Assertion
assertEqualIntList = assertEqual
main =
let
tree1 = empty
tree2 = insert tree1 1
tree3 = insert tree2 2
tree4 = insert tree3 3
tree5 = insert tree4 4
tree6 = insert tree5 5
tree... | cshung/MiscLab | Haskell99/AvlSet.test.hs | mit | 1,615 | 0 | 13 | 437 | 521 | 290 | 231 | 25 | 1 |
module Main where
import Sound.Audio
--import qualified Data.Vector as V
--import System.Exit (exitFailure)
fs :: Double
fs = 44100
testRecord1 :: IO ()
testRecord1 = do
x <- record (10*44100) fs
play fs x
main :: IO ()
main = testRecord1
| lemol/audiohs | examples/MicrofoneRepeater.hs | mit | 245 | 0 | 10 | 47 | 78 | 42 | 36 | 10 | 1 |
{- |
Copyright: (c) 2022 Kowainik
SPDX-License-Identifier: BSD-3-Clause
Maintainer: Kowainik <xrom.xkov@gmail.com>
Cabal-only example with all integrations
-}
module CabalFull
( projectName
) where
projectName :: String
projectName = "cabal-full"
| vrom911/hs-init | summoner-cli/examples/cabal-full/src/CabalFull.hs | mit | 259 | 0 | 4 | 41 | 20 | 13 | 7 | 4 | 1 |
module Accumulate (accumulate) where
accumulate :: (a -> b) -> [a] -> [b]
accumulate f xs = foldr (\ current acc -> f current : acc) [] xs | enolive/exercism | haskell/accumulate/src/Accumulate.hs | mit | 139 | 0 | 9 | 28 | 71 | 39 | 32 | 3 | 1 |
module Hash.Language.Exec where
import qualified Data.Map as M
import Hash.Language.Expressions
import Data.Maybe (fromMaybe, isJust, fromJust)
-- A model of a command which is waiting for arguments and a state to run
type Command = [String] -> ScriptState -> IO ScriptState
-- A table of variables, in fact a map of ... | yossarin/hash | src/Hash/Language/Exec.hs | mit | 4,499 | 0 | 14 | 1,097 | 1,540 | 778 | 762 | 76 | 6 |
{-# LANGUAGE FlexibleContexts #-}
{-# LANGUAGE ScopedTypeVariables #-}
{-# LANGUAGE RecordWildCards #-}
module Physics.Draw where
import Control.Lens ((^.), _1, _2)
import Linear.Affine
import Linear.V2
import qualified SDL.Video.Renderer as R
import Physics.Draw.Canonical
import Physics.Draw.Transform (WorldTransfor... | ublubu/shapes | shapes-demo/src/Physics/Draw.hs | mit | 2,717 | 0 | 11 | 705 | 1,074 | 543 | 531 | -1 | -1 |
{-# LANGUAGE PatternSynonyms, ForeignFunctionInterface, JavaScriptFFI #-}
module GHCJS.DOM.JSFFI.Generated.FocusEvent
(js_getRelatedTarget, getRelatedTarget, FocusEvent,
castToFocusEvent, gTypeFocusEvent)
where
import Prelude ((.), (==), (>>=), return, IO, Int, Float, Double, Bool(..), Maybe, mayb... | plow-technologies/ghcjs-dom | src/GHCJS/DOM/JSFFI/Generated/FocusEvent.hs | mit | 1,415 | 6 | 11 | 173 | 377 | 238 | 139 | 24 | 1 |
module Philed.Data.Semigroup (module Data.Semigroup
,module Philed.Data.SemigroupExtras) where
import Data.Semigroup
import Philed.Data.SemigroupExtras
| Chattered/PhilEdCommon | Philed/Data/Semigroup.hs | mit | 182 | 0 | 5 | 41 | 33 | 22 | 11 | 4 | 0 |
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE TupleSections #-}
{- |
Module : Text.XML.Decode
Description : Provides a Cursor based XML decoder that gives nice error messages
Copyright : (c) Ben Kolera
License : MIT
Maintainer : Ben Kolera
Stability : experimental
This library extends the fu... | benkolera/xml-conduit-decode | src/Text/XML/Decode.hs | mit | 3,610 | 0 | 5 | 802 | 72 | 53 | 19 | 11 | 0 |
{-# LANGUAGE OverloadedStrings #-}
module NClient.Message.Format
( fromS2C, toC2S
, Format(..), formatter
) where
import Graphics.Vty.Attributes
import Graphics.Vty.Widgets.Text
import Graphics.Vty.Widgets.Util
import Text.Trans.Tokenize
import Hach.Types
data Format = Full | Tail
formatter :: Format -> S2C ... | dmalikov/HaCh | nclient/NClient/Message/Format.hs | mit | 1,059 | 0 | 11 | 282 | 315 | 169 | 146 | 27 | 7 |
{-# LANGUAGE OverloadedStrings #-}
module System.Console.ANSI.BuilderSpec where
import Data.Sequence
import System.Console.ANSI
import System.Console.ANSI.Builder
import Test.Hspec
spec :: Spec
spec = do
describe "ANSI helpers" $ do
it "lets us easily construct Buil... | yamadapc/ansi-terminal-builder | test/System/Console/ANSI/BuilderSpec.hs | mit | 1,916 | 0 | 18 | 788 | 476 | 264 | 212 | 34 | 1 |
main :: IO ()
main = putStrLn $ show $ myFilter [[1,2,3], [5,7,8,12,34], [2,4,6,8]]
myFilter :: [[Integer]] -> [[Integer]]
myFilter = (filter $ (>= 2) . length) . (map $ filter (>= 6)) | michalc/haskell-experiments | filter.hs | mit | 187 | 0 | 9 | 35 | 131 | 78 | 53 | 4 | 1 |
-- | Web API parts of cardano-explorer
module Pos.Explorer.Web
( module Web
) where
import Pos.Explorer.Web.Server as Web
import Pos.Explorer.Web.Transform as Web
| input-output-hk/cardano-sl-explorer | src/Pos/Explorer/Web.hs | mit | 202 | 0 | 4 | 61 | 32 | 24 | 8 | 4 | 0 |
{-# OPTIONS_GHC -F -pgmF htfpp #-}
module Main where
import Test.Framework
import Hasql.Postgres.Prelude
import {-@ HTF_TESTS @-} Hasql.Postgres.TemplateConverterTests
main =
htfMain $ htf_thisModulesTests : htf_importedTests
| begriffs/hasql-postgres | library-tests/Main.hs | mit | 232 | 0 | 6 | 31 | 36 | 23 | 13 | 7 | 1 |
---------------------------------------------------------------------
module NYSE where
import Model
-- This defines the interface for this module
sellAt :: Price -> Volume -> Order
sellAt = error "NYSE doesn't sell."
buyAt :: Price -> Volume -> Order
buyAt = undefined
cancelOrder :: OrderID -> Order -> Maybe (Ei... | dimitri-xyz/interfaces-in-haskell | module-solution/NYSE.hs | cc0-1.0 | 826 | 0 | 9 | 206 | 113 | 64 | 49 | 10 | 1 |
{-# LANGUAGE EmptyDataDecls #-}
{-# LANGUAGE FlexibleInstances #-}
{-# LANGUAGE GADTs #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE MultiParamTypeClasses #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE... | Happy0/liscrabble | src/Model.hs | gpl-2.0 | 798 | 0 | 8 | 177 | 57 | 36 | 21 | 14 | 0 |
{-# LANGUAGE DeriveDataTypeable #-}
{- |
Module : ./Adl/Sign.hs
Description : ADL signature and sentences
Copyright : (c) Stef Joosten, Christian Maeder DFKI GmbH 2010
License : GPLv2 or higher, see LICENSE.txt
Maintainer : Christian.Maeder@dfki.de
Stability : provisional
Portability : portable
-... | gnn/Hets | Adl/Sign.hs | gpl-2.0 | 3,804 | 0 | 23 | 1,045 | 1,481 | 744 | 737 | 118 | 2 |
{- |
Module : ./OWL2/StaticAnalysis.hs
Copyright : Felix Gabriel Mance
License : GPLv2 or higher, see LICENSE.txt
Maintainer : f.mance@jacobs-university.de
Stability : provisional
Portability : portable
Static analysis for OWL 2
-}
module OWL2.StaticAnalysis where
import OWL2.Sign
import OWL2.Mo... | gnn/Hets | OWL2/StaticAnalysis.hs | gpl-2.0 | 24,494 | 0 | 37 | 7,883 | 7,197 | 3,529 | 3,668 | 467 | 23 |
{-# LANGUAGE TemplateHaskell, DeriveDataTypeable #-}
module NFA.Nerode.Congruent.Config where
import Autolib.ToDoc
import Autolib.Reader
import Autolib.Set
import Data.Typeable
data Ord c => Config c = Config
{ alphabet :: Set c
, nondet_automaton_size :: Int
, wanted :: I... | Erdwolf/autotool-bonn | src/NFA/Nerode/Congruent/Config.hs | gpl-2.0 | 598 | 0 | 9 | 175 | 136 | 81 | 55 | 17 | 1 |
module InputSpec (spec) where
import Test.Hspec
import Input
import Response
import Samples
spec = do
describe "isADirection" $
it "says whether the input is a direction" $
isADirection "south" sampleDefinitions `shouldBe` True
describe "toDirection" $
it "changes the string to in... | emhoracek/explora | test-suite/InputSpec.hs | gpl-2.0 | 1,779 | 0 | 15 | 643 | 339 | 165 | 174 | 40 | 1 |
{-|
Print some statistics for the journal.
-}
module Hledger.Cli.Stats
where
import Data.List
import Data.Maybe
import Data.Ord
import Data.Time.Calendar
import Text.Printf
import qualified Data.Map as Map
import Hledger
import Hledger.Cli.Options
import Prelude hiding (putStr)
import Hledger.Utils.UTF8 (putStr)
... | Lainepress/hledger | hledger/Hledger/Cli/Stats.hs | gpl-3.0 | 3,849 | 0 | 15 | 1,205 | 1,081 | 554 | 527 | 65 | 4 |
import System.Process
import System.Environment
import Data.GraphViz.Commands.IO
import Data.GraphViz.Types
import Text.Printf
import Data.GraphViz.Types.Canonical
import System.Directory
import Control.Monad
import Data.List
baseCmd :: String
baseCmd = "neato"
defaultArguments :: [String]
defaultArguments = ["-Elen... | bneijt/dotimate | src/main/Main.hs | gpl-3.0 | 3,664 | 0 | 12 | 563 | 1,021 | 510 | 511 | 64 | 1 |
{-# LANGUAGE OverloadedStrings, NoMonomorphismRestriction, TemplateHaskell #-}
{-# LANGUAGE QuasiQuotes, TypeFamilies, FlexibleContexts, GADTs, ScopedTypeVariables #-}
module Main where
import Control.Applicative
import Control.Monad
import Control.Monad.Logger
import Data.Maybe
import Data.CSV.Conduit
import Data.C... | arpunk/btc-markets | src/Main.hs | gpl-3.0 | 2,369 | 0 | 19 | 466 | 614 | 334 | 280 | 54 | 4 |
module Handler.OldHome where
import Import
import Yesod.Form.Bootstrap3 (BootstrapFormLayout (..), renderBootstrap3,
withSmallInput)
import Text.Julius (RawJS (..))
-- This is a handler function for the GET request method on the HomeR
-- resource pattern. All of your resource patterns ar... | nishiuramakoto/logiku | Handler/OldHome.hs | gpl-3.0 | 1,722 | 0 | 13 | 379 | 362 | 194 | 168 | 33 | 2 |
{-# LANGUAGE OverloadedStrings #-}
module Sets.View where
import qualified Data.Text as T
import Web.Larceny
import Ctxt
import Kiss
setSplices :: String -> [KissCel] -> Substitutions Ctxt
setSplices staticDir cs =
subs [("set-listing", setListingSplice),
("base", textFill ... | huggablemonad/smooch | app/src/Sets/View.hs | gpl-3.0 | 851 | 0 | 14 | 188 | 286 | 156 | 130 | 23 | 1 |
-- UUAGC 0.9.50.2 (/tmp/uuagd1672053706394119174.ag)
{-# LINE 1 "Example5.ag" #-}
import Text.Blaze.Html5 (toHtml)
import UUAGD.Html.Renderer
{-# LINE 10 "Example5.hs" #-}
{-# LINE 53 "Example5.ag" #-}
import qualified UUAGD.CodeGen as UUAGD
import UUAGD.Html.CodeGen
{-# LINE 16 "Example5.hs" #-}
{-# LINE 40 "Exa... | matthijssteen/uuagd | haskell/uuagd/examples/Example5.hs | mpl-2.0 | 7,152 | 1 | 19 | 2,756 | 1,199 | 690 | 509 | 141 | 1 |
{-# LANGUAGE DataKinds #-}
{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE FlexibleInstances #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# LANGUAGE OverloadedStrings #-}
{-# L... | dysinger/amazonka | amazonka-kms/gen/Network/AWS/KMS/DisableKeyRotation.hs | mpl-2.0 | 3,226 | 0 | 9 | 672 | 348 | 213 | 135 | 47 | 1 |
{-# LANGUAGE DataKinds #-}
{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE FlexibleInstances #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# LANGUAGE OverloadedStrings #-}
{-# L... | dysinger/amazonka | amazonka-opsworks/gen/Network/AWS/OpsWorks/CreateStack.hs | mpl-2.0 | 16,850 | 0 | 10 | 3,462 | 1,733 | 1,053 | 680 | 173 | 1 |
{-# OPTIONS -cpp #-}
--
-- Should evaluate to '3', unless something goes wrong.
--
-- Not so bad to use AltData, as it is already derived for all the basic
-- types. Then, just replace deriving Typeable, with hand-derived
-- instance of Typeable (see hs-plugins/testsuite/eval/eval_fn1/Poly.hs
--
--
#include "../../../... | Changaco/haskell-plugins | testsuite/eval/eval3/Main.hs | lgpl-2.1 | 941 | 0 | 12 | 210 | 107 | 61 | 46 | 7 | 1 |
{-# language DeriveDataTypeable #-}
-- | module for rendering the eyes of the robots
module Sorts.Robots.Eyes (
RobotEyesPixmaps,
loadRobotEyesPixmaps,
RobotEyesState(..),
renderRobotEyes,
) where
import Data.Data
import Data.Map
import Data.Abelian
import Text.Printf
import System.FilePath
imp... | nikki-and-the-robots/nikki | src/Sorts/Robots/Eyes.hs | lgpl-3.0 | 2,301 | 0 | 18 | 562 | 638 | 351 | 287 | 60 | 1 |
module SrcExtsPreserveLayoutSpec (main, spec) where
import Test.Hspec
import Control.Exception
import Data.Maybe
import Language.Haskell.TokenUtils.DualTree
import Language.Haskell.TokenUtils.Layout
import Language.Haskell.TokenUtils.TokenUtils
import Language.Haskell.TokenUtils.Types
import Language.Haske... | alanz/haskell-token-utils | test/SrcExtsPreserveLayoutSpec.hs | unlicense | 4,176 | 0 | 21 | 642 | 503 | 287 | 216 | 32 | 1 |
module Haskoin.Crypto.Ring.Tests (tests) where
import Test.QuickCheck.Property hiding ((.&.))
import Test.Framework
import Test.Framework.Providers.QuickCheck2
import Control.Monad.Identity
import Data.Maybe
import Data.Word
import Data.Bits
import Data.Binary
import Data.Binary.Get
import Data.Binary.Put
import qual... | lynchronan/haskoin-crypto | testsuite/Haskoin/Crypto/Ring/Tests.hs | unlicense | 10,454 | 0 | 14 | 2,659 | 3,307 | 1,746 | 1,561 | -1 | -1 |
module Helpers.SetHelpers (flatMap) where
import Data.Set (Set)
import qualified Data.Set as Set
flatMap :: (Ord a, Ord b) => (a -> Set b) -> Set a -> Set b
flatMap f s = Set.foldr Set.union Set.empty (Set.map f s)
| peterokagey/haskellOEIS | src/Helpers/SetHelpers.hs | apache-2.0 | 216 | 0 | 9 | 40 | 106 | 57 | 49 | 5 | 1 |
{-# OPTIONS -fglasgow-exts #-}
-----------------------------------------------------------------------------
{-| Module : QGraphicsSceneContextMenuEvent.hs
Copyright : (c) David Harley 2010
Project : qtHaskell
Version : 1.1.4
Modified : 2010-09-02 17:02:35
Warning : this file is machi... | uduki/hsQt | Qtc/Enums/Gui/QGraphicsSceneContextMenuEvent.hs | bsd-2-clause | 2,935 | 0 | 18 | 533 | 606 | 306 | 300 | 54 | 1 |
{-# LANGUAGE OverloadedStrings, TypeFamilies, TypeSynonymInstances,
MultiParamTypeClasses, FlexibleInstances, FlexibleContexts,
CPP #-}
-----------------------------------------------------------------------------
-- |
-- Module : Graphics.Xournal.Render.BBoxMapPDF
-- Copyright : (c... | wavewave/xournal-render | src/Graphics/Xournal/Render/BBoxMapPDF.hs | bsd-2-clause | 12,609 | 0 | 30 | 2,955 | 3,219 | 1,629 | 1,590 | 212 | 4 |
{-# LANGUAGE BangPatterns, CPP, GeneralizedNewtypeDeriving #-}
-- |
-- Module : Data.Text.Foreign
-- Copyright : (c) 2009, 2010 Bryan O'Sullivan
--
-- License : BSD-style
-- Maintainer : bos@serpentine.com
-- Stability : experimental
-- Portability : GHC
--
-- Support for using 'Text' data with native cod... | hvr/text | Data/Text/Foreign.hs | bsd-2-clause | 6,114 | 0 | 15 | 1,412 | 1,245 | 674 | 571 | 78 | 1 |
{-# LANGUAGE NoImplicitPrelude #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE PackageImports #-}
{-# LANGUAGE UnicodeSyntax #-}
{-|
[@ISO639-1@] co
[@ISO639-2@] cos
[@ISO639-3@] cos
[@Native name@] corsu
[@English name@] Corsican
-}
module Text.Numeral.Language.COS.TestData ... | telser/numerals | src-test/Text/Numeral/Language/COS/TestData.hs | bsd-3-clause | 6,754 | 0 | 8 | 1,863 | 1,723 | 1,151 | 572 | 193 | 1 |
{-
(c) The University of Glasgow 2006
(c) The GRASP/AQUA Project, Glasgow University, 1997-1998
\section[BasicTypes]{Miscellanous types}
This module defines a miscellaneously collection of very simple
types that
\begin{itemize}
\item have no other obvious home
\item don't depend on any other complicated types
\item ... | urbanslug/ghc | compiler/basicTypes/BasicTypes.hs | bsd-3-clause | 40,841 | 0 | 14 | 12,241 | 5,537 | 3,073 | 2,464 | 521 | 5 |
{-# LANGUAGE CPP #-}
{-# LANGUAGE DeriveDataTypeable #-}
-----------------------------------------------------------------------------
-- |
-- Module : Distribution.PackageDescription.Parse
-- Copyright : Isaac Jones 2003-2005
-- License : BSD3
--
-- Maintainer : cabal-devel@haskell.org
-- Portability :... | randen/cabal | Cabal/Distribution/PackageDescription/Parse.hs | bsd-3-clause | 55,323 | 0 | 24 | 17,132 | 11,826 | 6,297 | 5,529 | 883 | 25 |
{-# LANGUAGE NoImplicitPrelude #-}
{-# LANGUAGE ForeignFunctionInterface #-}
module Anemone.Foreign.FFI (
ffi_id_safe
, ffi_id_unsafe
) where
import P
foreign import ccall
"anemone_ffi_id"
ffi_id_safe
:: Int
-> Int
foreign import ccall unsafe
"anemone_ffi_id"
ffi_id_unsafe
:: Int
... | ambiata/anemone | src/Anemone/Foreign/FFI.hs | bsd-3-clause | 332 | 0 | 6 | 81 | 54 | 33 | 21 | 14 | 0 |
module TypeErrors (module Control.Monad.Reader,
module Control.Monad.Except,
module Control.Applicative, TypeError(..), readTypeError)where
import Control.Applicative
import Control.Monad.Reader
import Control.Monad.Except
import Syntax
import Pretty
--Error Types
data TypeE... | heades/Agda-LLS | Source/ALL/Languages/TypeErrors.hs | bsd-3-clause | 8,421 | 0 | 11 | 2,053 | 1,883 | 948 | 935 | 120 | 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 OverloadedStrings #-}
module Duckling.Distance.RU.Rules
( rules
) where
... | facebookincubator/duckling | Duckling/Distance/RU/Rules.hs | bsd-3-clause | 1,708 | 0 | 15 | 349 | 366 | 226 | 140 | 32 | 2 |
module Messages.Types where
import ElmVersion
import qualified Reporting.Annotation as A
import qualified Reporting.Error.Syntax as Syntax
-- inspired by:
-- https://wiki.haskell.org/Internationalization_of_Haskell_programs_using_Haskell_data_types
data InfoMessage
= ProcessingFiles [FilePath]
| FileWouldChange ... | nukisman/elm-format-short | src/Messages/Types.hs | bsd-3-clause | 737 | 0 | 9 | 107 | 122 | 76 | 46 | 21 | 0 |
{-# LANGUAGE NoImplicitPrelude #-}
module Protocol.ROC.PointTypes.PointType41 where
import Data.ByteString (ByteString)
import Data.Binary.Get (getByteString,
getWord8,
Get)
import Data.Word (Word8)
import Prelude (($),
... | plow-technologies/roc-translator | src/Protocol/ROC/PointTypes/PointType41.hs | bsd-3-clause | 18,209 | 0 | 9 | 8,605 | 1,459 | 842 | 617 | 298 | 1 |
{-# LANGUAGE DataKinds #-}
{-# LANGUAGE PolyKinds #-}
{-# LANGUAGE TypeFamilies #-}
{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE TypeOperators #-}
{-# LANGUAGE OverloadedStrings #-}
module ServantClosures.Internal.Servant where
import Control.Applicative
import ServantClosures.Internal.Closure
import Control.Distribute... | plow-technologies/servant-with-closures | src/ServantClosures/Internal/Servant.hs | bsd-3-clause | 1,358 | 0 | 10 | 280 | 266 | 152 | 114 | 30 | 1 |
module Zoli
( -- * 'Rule'
Core.Rule
-- ** Creating rules
, need
, Core.needFile
, Core.always
-- * Rules
, Core.Rules
-- ** Adding rules
, Core.OutPath
, Core.RuleHandler
, Core.rule
, Core.phony
-- ** Referring to source files
, Core.existing
) where
import qualified Zoli.Cor... | bitonic/zoli | src/Zoli.hs | bsd-3-clause | 639 | 0 | 9 | 163 | 149 | 86 | 63 | 18 | 1 |
{-# LANGUAGE OverloadedStrings #-}
-- |
-- How to use:
--
-- > import Control.Watchdog
-- > import Data.Time
-- >
-- > errorProneTask :: IO (Either String ())
-- > errorProneTask = do
-- > getCurrentTime >>= print
-- > return $ Left "some error"
-- >
-- > main = watchdog $ watch errorProneTask
--
-- Result:
--
... | javgh/watchdog | Control/Watchdog.hs | bsd-3-clause | 12,427 | 0 | 20 | 3,443 | 1,706 | 936 | 770 | 137 | 5 |
{-# LANGUAGE GADTs #-}
{-| This module helps with the generation, storing, analyzing and processing of
trace files.
-}
module Language.GTL.ErrorRefiner where
import System.Process
import Data.Maybe (mapMaybe)
import Data.Map as Map hiding (mapMaybe)
import Data.Set as Set
import Data.Binary
import Data.Binary.Put... | hguenther/gtl | lib/Language/GTL/ErrorRefiner.hs | bsd-3-clause | 5,731 | 0 | 16 | 1,325 | 1,283 | 687 | 596 | 78 | 8 |
-----------------------------------------------------------------------------
-- |
-- Module : Main
-- Copyright : (c) 2012, 2013 Bernie Pope
-- License : BSD-style
-- Maintainer : florbitous@gmail.com
-- Stability : experimental
-- Portability : ghc
--
-- A program to read and pretty print a Python byte... | bjpop/blip | readpyc/src/Main.hs | bsd-3-clause | 2,133 | 0 | 13 | 479 | 528 | 294 | 234 | 58 | 2 |
{-# LANGUAGE RecordWildCards #-}
-- | Slotting utilities.
module Pos.Infra.Slotting.Util
(
-- * Helpers using 'MonadSlots[Data]'
getSlotStart
, getSlotStartPure
, getSlotStartEmpatically
, getCurrentEpochSlotDuration
, getNextEpochSlotDuration
, slotFromTime... | input-output-hk/pos-haskell-prototype | infra/src/Pos/Infra/Slotting/Util.hs | mit | 8,541 | 0 | 18 | 2,105 | 1,727 | 914 | 813 | -1 | -1 |
{-# LANGUAGE OverloadedStrings #-}
{-
Copyright (C) 2006-2010 John MacFarlane <jgm@berkeley.edu>
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) a... | Lythimus/lptv | sites/all/modules/jgm-pandoc-8be6cc2/src/Text/Pandoc/Writers/Markdown.hs | gpl-2.0 | 23,641 | 0 | 29 | 7,582 | 6,654 | 3,328 | 3,326 | 446 | 20 |
module Network.HaskellNet.Auth
where
import Crypto.Hash.MD5
import qualified Codec.Binary.Base64.String as B64 (encode, decode)
import Data.Word
import Data.List
import Data.Bits
import Data.Array
import qualified Data.ByteString as B
type UserName = String
type Password = String
data AuthType = PLAIN
... | lemol/HaskellNet | src/Network/HaskellNet/Auth.hs | bsd-3-clause | 2,102 | 0 | 12 | 549 | 757 | 407 | 350 | 51 | 2 |
module SocketPrim
{-# DEPRECATED "This module has moved to Network.Socket" #-}
(module Network.Socket) where
import Network.Socket
| alekar/hugs | fptools/hslibs/net/SocketPrim.hs | bsd-3-clause | 131 | 0 | 5 | 16 | 18 | 12 | 6 | 4 | 0 |
{-# LANGUAGE CPP,
DefaultSignatures,
OverloadedStrings,
TupleSections,
LambdaCase,
DeriveGeneric,
TemplateHaskell #-}
{- |
GHCJS linker, collects dependencies from
the object files (.js_o, js_p_o), which contain linkable
units with ... | flowbox-public/ghcjs | src/Gen2/Linker.hs | mit | 30,575 | 1 | 24 | 9,639 | 7,884 | 4,148 | 3,736 | 518 | 5 |
<?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="sr-SP">
<title>Server-Sent Events | ZAP Extension</title>
<maps>
<homeID>top</homeID>
... | 0xkasun/security-tools | src/org/zaproxy/zap/extension/sse/resources/help_sr_SP/helpset_sr_SP.hs | apache-2.0 | 980 | 80 | 67 | 160 | 419 | 212 | 207 | -1 | -1 |
{-# LANGUAGE CPP, NamedFieldPuns, NondecreasingIndentation #-}
{-# OPTIONS_GHC -fno-cse #-}
-- -fno-cse is needed for GLOBAL_VAR's to behave properly
-----------------------------------------------------------------------------
--
-- GHC Driver
--
-- (c) The University of Glasgow 2005
--
------------------------------... | fmthoma/ghc | compiler/main/DriverPipeline.hs | bsd-3-clause | 105,397 | 0 | 31 | 36,352 | 16,645 | 8,407 | 8,238 | 1,448 | 45 |
{-# LANGUAGE NoImplicitPrelude #-}
{-# LANGUAGE ConstraintKinds #-}
{-# LANGUAGE DataKinds #-}
{-# LANGUAGE FlexibleContexts #-}
{-# LANGUAGE MultiParamTypeClasses #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE ScopedTypeVariables #-}
{-# LANGUAGE... | anton-dessiatov/stack | src/Stack/Solver.hs | bsd-3-clause | 34,311 | 0 | 25 | 10,624 | 6,950 | 3,561 | 3,389 | 571 | 8 |
<?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="sl-SI">
<title>Retest Add-On</title>
<maps>
<homeID>retest</homeID>
<mapref location="m... | thc202/zap-extensions | addOns/retest/src/main/javahelp/org/zaproxy/addon/retest/resources/help_sl_SI/helpset_sl_SI.hs | apache-2.0 | 961 | 77 | 67 | 156 | 411 | 208 | 203 | -1 | -1 |
{-# LANGUAGE OverloadedStrings #-}
module Css.Loading
(loadingStyles) where
import Clay
import Prelude hiding ((**))
import Data.Monoid
import Css.Constants
{- loadingStyles
- Generates all CSS for the draw page. -}
loadingStyles :: Css
loadingStyles = do
spinnerCSS
smallCompassPosCSS
largeCompassPo... | Ian-Stewart-Binks/courseography | hs/Css/Loading.hs | gpl-3.0 | 1,018 | 0 | 12 | 200 | 256 | 134 | 122 | 32 | 1 |
{-# LANGUAGE DeriveDataTypeable #-}
-----------------------------------------------------------------------------
-- |
-- Module : XMonad.Hooks.FloatNext
-- Copyright : Quentin Moser <moserq@gmail.com>
-- License : BSD-style (see LICENSE)
--
-- Maintainer : orphaned
-- Stability : unstable
-- Portabi... | adinapoli/xmonad-contrib | XMonad/Hooks/FloatNext.hs | bsd-3-clause | 3,949 | 0 | 8 | 1,023 | 321 | 206 | 115 | 34 | 1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.