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 CPP, BangPatterns #-}
{-# OPTIONS_GHC -Wall -fno-warn-name-shadowing #-}
module Main ( main, test {-, maxDistances -} ) where
import Prelude
import System.Environment
import Data.Array.Accelerate as A
import Data.Array.Accelerate.Interpreter
-- <<Graph
type Weight = Int32
type Graph = Array DIM2 Weight
... | mono0926/ParallelConcurrentHaskell | fwaccel.hs | bsd-3-clause | 2,783 | 0 | 21 | 1,006 | 975 | 550 | 425 | 58 | 1 |
module Applicatives where
import Control.Applicative
import Data.List (elemIndex)
import Data.Monoid
import Test.QuickCheck
import Test.QuickCheck.Checkers
import Test.QuickCheck.Classes
added :: Maybe Integer
added = (+3) <$> lookup 3 (zip [1... | vasily-kirichenko/haskell-book | src/Applicatives.hs | bsd-3-clause | 9,021 | 0 | 13 | 2,530 | 4,254 | 2,201 | 2,053 | 257 | 2 |
{-|
Module : OpenLayersFunc
Description : OpenLayers JavaScript and Haskell functions (using FFI)
-}
module OpenLayers.Func where
import Prelude hiding (void)
import JQuery
import Fay.Text hiding (head, tail, map)
import OpenLayers.Html
import OpenLayers.Interna... | olwrapper/olwrapper | wrapper/OpenLayers/Func.hs | bsd-3-clause | 12,894 | 0 | 17 | 3,057 | 2,042 | 1,069 | 973 | 194 | 3 |
module Math.LinearRecursive.Internal.Polynomial
( Polynomial
, polynomial
, unPoly
, fromList
, toList
, singleton
, x
, degree
, evalPoly
) where
import qualified Data.IntMap as IntMap
import Math.LinearRecursive.Internal.Vector
newtype Polynomial a = Polynomial { unPoly :: Vector a }
polynomi... | bjin/monad-lrs | Math/LinearRecursive/Internal/Polynomial.hs | bsd-3-clause | 1,648 | 0 | 10 | 371 | 750 | 390 | 360 | 39 | 1 |
import System.Directory
import PocParser
import PocStrategy
import StrategyTest
-- Test GENERATE --
main :: IO ()
main = do
--mapM_ (uncurry generateTest) genTests
--plusTest
--generateAllTest
chooseStrategyTest
-- PARSER AND PROGRAMS STUFF --
--main :: IO ()
--main = do
-- files <- getDirectoryContents "t... | NicolaiNebel/Bachelor-Poc | test/Spec.hs | bsd-3-clause | 624 | 0 | 6 | 114 | 51 | 36 | 15 | 7 | 1 |
module CallByReference.Data where
import Control.Monad.Trans.State.Lazy
import qualified Data.Map as M
import Data.Maybe (fromMaybe)
type Try = Either String
type Environment = M.Map String DenotedValue
empty :: Environment
empty = M.empty
initEnvironme... | li-zhirui/EoplLangs | src/CallByReference/Data.hs | bsd-3-clause | 4,242 | 0 | 13 | 970 | 1,555 | 812 | 743 | 112 | 3 |
{-# LANGUAGE ExtendedDefaultRules, FlexibleInstances, MultiParamTypeClasses, OverloadedStrings, TypeFamilies, RankNTypes #-}
module Web.ISO.HSX where
import Data.Monoid ((<>))
import Data.Text (Text, pack, unpack)
import GHCJS.Marshal.Pure (pFromJSVal)
import GHCJS.Types (JSVal(..), JSString(..))
import Web.ISO.Types ... | stepcut/isomaniac | Web/ISO/HSX.hs | bsd-3-clause | 2,383 | 0 | 12 | 591 | 598 | 328 | 270 | 37 | 1 |
{-# LANGUAGE FlexibleInstances, TemplateHaskell #-}
{-# OPTIONS_GHC -fno-warn-orphans #-}
import Control.Applicative
import Data.IP
import Data.Text
import Data.Time
import Test.Hspec
import Test.HUnit
import Test.Hspec.QuickCheck
import Test.QuickCheck
import Cloud.AWS.Lib.FromText
import Cloud.AWS.Lib.ToText
prop_... | worksap-ate/aws-sdk-text-converter | test/Spec.hs | bsd-3-clause | 2,120 | 0 | 16 | 431 | 704 | 363 | 341 | 52 | 1 |
{-# LANGUAGE FlexibleContexts #-}
{-# LANGUAGE FlexibleInstances #-}
{-# LANGUAGE TypeOperators #-}
{-# LANGUAGE TypeFamilies #-}
-----------------------------------------------------------------------------
-- |
-- Module : Generics.Regular.Functions
-- Copyright : (c) 2010 Universiteit Utrecht
-- ... | dreixel/regular | src/Generics/Regular/Functions.hs | bsd-3-clause | 1,626 | 0 | 5 | 262 | 126 | 99 | 27 | 17 | 0 |
module Jade.Jumper where
import Jade.Common
import qualified Jade.Decode.Coord as Coord
getEnds :: Jumper -> ((Integer, Integer), (Integer, Integer))
getEnds (Jumper (Coord3 x y r)) = Coord.coord5ends (Coord5 x y r 8 0)
points (Jumper (Coord3 x y r)) = [Point x y]
| drhodes/jade2hdl | src/Jade/Jumper.hs | bsd-3-clause | 268 | 0 | 9 | 45 | 122 | 68 | 54 | 6 | 1 |
module DiceSpec ( main, spec ) where
import System.Random
import Test.Hspec
import Test.QuickCheck
import TestHelpers
import Dice
main :: IO ()
main = hspec spec
spec :: Spec
spec = do
describe "d4" $
it "is within range" $ property $ \seed n ->
let rol... | camelpunch/rhascal | test/DiceSpec.hs | bsd-3-clause | 562 | 0 | 17 | 183 | 211 | 110 | 101 | 18 | 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.Ordinal.DA.Tests
( tests ) where
import Prelude
import Data.String
import Test.Tasty
import D... | facebookincubator/duckling | tests/Duckling/Ordinal/DA/Tests.hs | bsd-3-clause | 504 | 0 | 9 | 78 | 79 | 50 | 29 | 11 | 1 |
{-# LANGUAGE PatternSynonyms #-}
--------------------------------------------------------------------------------
-- |
-- Module : Graphics.GL.NV.VertexProgram2Option
-- Copyright : (c) Sven Panne 2019
-- License : BSD3
--
-- Maintainer : Sven Panne <svenpanne@gmail.com>
-- Stability : stable
-- Port... | haskell-opengl/OpenGLRaw | src/Graphics/GL/NV/VertexProgram2Option.hs | bsd-3-clause | 731 | 0 | 5 | 95 | 52 | 39 | 13 | 8 | 0 |
{-# LANGUAGE OverloadedStrings #-}
module HaskellStorm.Internal
( BoltIn (..)
, EmitCommand (..)
, Handshake (..)
, PidOut (..)
, SpoutIn
, StormConfig (..)
, StormOut (..)
) where
import Control.Applicative ((<$>), (<*>))
import Control.Monad (mzero)
import Data.Aeson ((.:), (.:?), (.... | aaronlevin/pipes-storm | src/HaskellStorm/Internal.hs | bsd-3-clause | 4,546 | 0 | 15 | 1,699 | 1,296 | 716 | 580 | 112 | 0 |
module Interpreter
(Program, run, verify, programFromText, testProgram, failingProgram
) where
import Color
import Evaluator
import Program
import qualified Data.Map as Map
import Data.Maybe
import qualified System.IO as System
import System.Console.ANSI
import System.Console.Regions
import Control.Concurrent.... | paterson/interpreter | src/Interpreter.hs | bsd-3-clause | 9,090 | 0 | 16 | 3,211 | 2,896 | 1,470 | 1,426 | 154 | 6 |
{-# LANGUAGE CPP, Rank2Types, ConstraintKinds, PatternGuards, ViewPatterns #-}
{-# LANGUAGE FlexibleContexts, FlexibleInstances, MultiParamTypeClasses #-}
{-# LANGUAGE ScopedTypeVariables, TupleSections #-}
{-# LANGUAGE DeriveDataTypeable, DeriveFunctor, DeriveFoldable, TypeFamilies #-}
{-# LANGUAGE OverloadedStrings #... | conal/hermit-extras | src/HERMIT/Extras.hs | bsd-3-clause | 50,562 | 0 | 23 | 11,996 | 13,014 | 6,863 | 6,151 | 784 | 12 |
{-# LANGUAGE DeriveDataTypeable #-}
{- |
Module : $Header$
Description : Maude Sentences
Copyright : (c) Martin Kuehl, Uni Bremen 2008-2009
License : GPLv2 or higher, see LICENSE.txt
Maintainer : mkhl@informatik.uni-bremen.de
Stability : experimental
Portability : portable
Definition of sentences... | mariefarrell/Hets | Maude/Sentence.hs | gpl-2.0 | 5,625 | 0 | 13 | 1,693 | 1,913 | 959 | 954 | 127 | 7 |
{-# LANGUAGE OverloadedStrings #-}
{-
Created : 2015 Sep 05 (Sat) 11:05:00 by Harold Carr.
Last Modified : 2015 Sep 13 (Sun) 16:52:43 by Harold Carr.
-}
module Client where
import Control.Lens
import Data.Aeson (toJSON)
import Msg
import Network.Wreq
epAddr = "http://12... | ryoia/utah-haskell | 2015-09-17-solution/Client.hs | apache-2.0 | 1,238 | 0 | 15 | 461 | 301 | 156 | 145 | 33 | 1 |
{-# LANGUAGE CPP, NondecreasingIndentation, TupleSections #-}
{-# OPTIONS -fno-warn-incomplete-patterns -optc-DNON_POSIX_SOURCE #-}
-----------------------------------------------------------------------------
--
-- GHC Driver program
--
-- (c) The University of Glasgow 2005
--
----------------------------------------... | AlexanderPankiv/ghc | ghc/Main.hs | bsd-3-clause | 36,717 | 0 | 27 | 10,206 | 7,504 | 3,867 | 3,637 | 577 | 17 |
{-# LANGUAGE FlexibleContexts #-}
{-# LANGUAGE ScopedTypeVariables #-}
-- | This module implements predicate pushdown on comprehensions.
module Database.DSH.CL.Opt.PredPushdown
( predpushdownR
) where
import Control.Arrow
import qualified Data.List.NonEmpty as N
import qualified Data.Set ... | ulricha/dsh | src/Database/DSH/CL/Opt/PredPushdown.hs | bsd-3-clause | 8,803 | 0 | 19 | 2,169 | 2,207 | 1,081 | 1,126 | 135 | 8 |
-- print information about the current package
-- (reads the cached build info, so only works after 'cabal configure')
import Prelude hiding (print)
import Distribution.Simple
import Distribution.Simple.LocalBuildInfo
import Distribution.Text
import System.Environment
readLocalBuildInfo :: IO LocalBuildInfo
readLoca... | Toxaris/pts | src-tools/package-info.hs | bsd-3-clause | 768 | 0 | 12 | 153 | 222 | 110 | 112 | 21 | 3 |
module Spotify.Error (
Error(..),
spotifyError
) where
import qualified Bindings.Spotify.Error as SP
data Error = Ok
| ClientTooOld
| UnableToContactServer
| BadUsernameOrPassword
| UserBanned
| UserNeedsPremium
spotifyError :: SP.Error -> Error
spotifyError... | mrehayden1/harmony | Spotify/Error.hs | bsd-3-clause | 639 | 0 | 9 | 237 | 140 | 76 | 64 | 16 | 1 |
-- | Immediate operand
module Haskus.Arch.X86_64.ISA.Immediate
( X86ImmFamP
, X86ImmFamT
, X86ImmFam
, X86Imm
, Imm (..)
, immFamFixedSize
, immFamOpSize
, immFamOpSizeSE
, immFamConst
)
where
import Haskus.Arch.X86_64.ISA.Size
import Haskus.Arch.X86_64.ISA.Solver
import Haskus.Arch.Commo... | hsyl20/ViperVM | haskus-system/src/lib/Haskus/Arch/X86_64/ISA/Immediate.hs | bsd-3-clause | 2,513 | 0 | 14 | 644 | 547 | 314 | 233 | 56 | 1 |
{-# OPTIONS -Wall -Werror #-}
module Test.TestEaster where
import Data.Time.Calendar.Easter
import Data.Time.Calendar
import Data.Time.Format
import Test.TestUtil
import Test.TestEasterRef
--
days :: [Day]
days = [ModifiedJulianDay 53000 .. ModifiedJulianDay 53014]
showWithWDay :: Day -> String
showWithWDay = for... | bergmark/time | test/Test/TestEaster.hs | bsd-3-clause | 1,068 | 0 | 18 | 343 | 295 | 155 | 140 | 25 | 1 |
{-# LANGUAGE BangPatterns, CPP, MagicHash #-}
module Main ( main ) where
import Data.Bits
import GHC.Prim
import GHC.Word
#include "MachDeps.h"
main = putStr
(test_popCnt ++ "\n"
++ test_popCnt8 ++ "\n"
++ test_popCnt16 ++ "\n"
++ test_popCnt32 ++ "\n"
++ test_popCnt64 ++ "\n"... | sdiehl/ghc | testsuite/tests/codeGen/should_run/cgrun071.hs | bsd-3-clause | 2,285 | 0 | 16 | 560 | 743 | 399 | 344 | -1 | -1 |
{-
(c) The GRASP/AQUA Project, Glasgow University, 1992-1998
************************************************************************
* *
\section[FloatIn]{Floating Inwards pass}
* ... | ezyang/ghc | compiler/simplCore/FloatIn.hs | bsd-3-clause | 29,172 | 0 | 15 | 7,505 | 3,336 | 1,787 | 1,549 | 242 | 4 |
-----------------------------------------------------------------------------
-- |
-- Module : Control.Monad.RWS
-- Copyright : (c) Andy Gill 2001,
-- (c) Oregon Graduate Institute of Science and Technology, 2001
-- License : BSD-style (see the file LICENSE)
--
-- Maintainer : libraries@h... | johanneshilden/principle | public/mtl-2.2.1/Control/Monad/RWS.hs | bsd-3-clause | 895 | 0 | 5 | 162 | 42 | 35 | 7 | 3 | 0 |
module Syntax where
type Name = String
data Expr
= Var Name
| Lit Ground
| App Expr Expr
| Lam Name Type Expr
deriving (Eq, Show)
data Ground
= LInt Int
| LBool Bool
deriving (Show, Eq, Ord)
data Type
= TInt
| TBool
| TArr Type Type
deriving (Eq, Read, Show)
| yupferris/write-you-a-haskell | chapter5/stlc/Syntax.hs | mit | 287 | 0 | 6 | 81 | 112 | 64 | 48 | 17 | 0 |
<?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="si-LK">
<title>Passive Scan Rules | ZAP Extension</title>
<maps>
<homeID>top</homeID>
<... | thc202/zap-extensions | addOns/pscanrules/src/main/javahelp/org/zaproxy/zap/extension/pscanrules/resources/help_si_LK/helpset_si_LK.hs | apache-2.0 | 979 | 78 | 66 | 160 | 415 | 210 | 205 | -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="ro-RO">
<title>All In One Notes Add-On</title>
<maps>
<homeID>top</homeID>
<mapref loca... | thc202/zap-extensions | addOns/allinonenotes/src/main/javahelp/org/zaproxy/zap/extension/allinonenotes/resources/help_ro_RO/helpset_ro_RO.hs | apache-2.0 | 968 | 77 | 67 | 159 | 417 | 211 | 206 | -1 | -1 |
module HLearn.Optimization.StepSize
(
-- * fancy step sizes
-- ** Almeida Langlois
lrAlmeidaLanglois
-- * simple step sizes
-- ** linear decrease
, lrLinear
, eta
-- , gamma
-- ** constant step size
, lrConst
-- , step
)
where
import HLearn.Optimization.StepS... | mikeizbicki/HLearn | src/HLearn/Optimization/StepSize.hs | bsd-3-clause | 427 | 0 | 4 | 110 | 49 | 36 | 13 | 9 | 0 |
module PatBindIn3 where
--A definition can be lifted from a where or let to the top level binding group.
--Lifting a definition widens the scope of the definition.
--In this example, lift 'sq' defined in 'sumSquares'
--This example aims to test changing a constant to a function.
sumSquares x = (sq x pow) + (sq x ... | kmate/HaRe | old/testing/liftToToplevel/PatBindIn3_TokOut.hs | bsd-3-clause | 454 | 0 | 7 | 142 | 84 | 45 | 39 | 6 | 1 |
module HAD.Y2014.M04.D09.Exercise where
-- $setup
-- >>> import Data.List
data Foo = Foo {x :: Int, y :: String, z :: String}
deriving (Read, Show, Eq)
{- | orderXYZ
Order Foo by x then by y and then by z
prop> sort xs == (map x . orderXYZ . map (\v -> Foo v "y" "z")) xs
prop> sort xs == (map y . ord... | 1HaskellADay/1HAD | exercises/HAD/Y2014/M04/D09/Exercise.hs | mit | 481 | 0 | 8 | 126 | 74 | 47 | 27 | 5 | 1 |
{-# LANGUAGE Trustworthy #-}
{-# LANGUAGE CPP, NoImplicitPrelude, BangPatterns, MagicHash, UnboxedTuples #-}
{-# OPTIONS_HADDOCK hide #-}
-----------------------------------------------------------------------------
-- |
-- Module : GHC.Word
-- Copyright : (c) The University of Glasgow, 1997-2002
-- License ... | frantisekfarka/ghc-dsi | libraries/base/GHC/Word.hs | bsd-3-clause | 31,190 | 0 | 15 | 10,149 | 7,329 | 3,805 | 3,524 | 473 | 1 |
-- | Some helpers for interrogating a WAI 'Request'.
module Network.Wai.Request
( appearsSecure
, guessApproot
) where
import Data.ByteString (ByteString)
import Data.Maybe (fromMaybe)
import Network.HTTP.Types (HeaderName)
import Network.Wai (Request, isSecure, requestHeaders, requestHeaderHost)
import ... | dylex/wai | wai-extra/Network/Wai/Request.hs | mit | 2,017 | 0 | 13 | 373 | 328 | 201 | 127 | 22 | 2 |
{-| A data structure for measuring how many of a number of available slots are
taken.
-}
{-
Copyright (C) 2014 Google Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
1. Redistributions of source... | grnet/snf-ganeti | src/Ganeti/SlotMap.hs | bsd-2-clause | 3,394 | 0 | 10 | 700 | 394 | 223 | 171 | 30 | 1 |
-- !!! Testing the Word Enum instances.
{-# LANGUAGE CPP #-}
module Main(main) where
import Control.Exception
import Data.Word
import Data.Int
main = do
putStrLn "Testing Enum Word8:"
testEnumWord8
putStrLn "Testing Enum Word16:"
testEnumWord16
putStrLn "Testing Enum Word32:"
testEnumWord32
putStrLn "Te... | green-haskell/ghc | libraries/base/tests/enum03.hs | bsd-3-clause | 8,784 | 0 | 15 | 1,583 | 4,801 | 2,625 | 2,176 | 182 | 1 |
{-# LANGUAGE DeriveTraversable #-}
import Data.Monoid (Endo (..))
import Control.Exception (evaluate)
data Tree a = Bin !(Tree a) a !(Tree a) | Tip
deriving (Functor, Foldable)
t1, t2, t3, t4, t5 :: Tree ()
t1 = Bin Tip () Tip
t2 = Bin t1 () t1
t3 = Bin t2 () t2
t4 = Bin t3 () t3
t5 = Bin t4 () t4
t6 = Bin t5 () t... | ezyang/ghc | testsuite/tests/perf/should_run/T13218.hs | bsd-3-clause | 546 | 0 | 11 | 130 | 291 | 153 | 138 | 25 | 1 |
-----------------------------------------------------------------------------
-- |
-- Module : Distribution.Simple.JHC
-- Copyright : Isaac Jones 2003-2006
-- License : BSD3
--
-- Maintainer : cabal-devel@haskell.org
-- Portability : portable
--
-- This module contains most of the JHC-specific code for... | DavidAlphaFox/ghc | libraries/Cabal/Cabal/Distribution/Simple/JHC.hs | bsd-3-clause | 8,608 | 0 | 17 | 2,006 | 2,059 | 1,135 | 924 | 147 | 2 |
module Main where
import CommandLine
import Control.Monad
import Data.Char
import Expense
import Parser
import PetParser
import System.Environment
import System.Exit
import System.IO
main :: IO ()
main = do opts <- getArgs >>= parseCmdLine
logF opts LogInfo "Parsed command-line arguments"
contents... | fredmorcos/attic | projects/pet/archive/pet_haskell_simpleparse_2/Main.hs | isc | 1,615 | 0 | 14 | 466 | 634 | 321 | 313 | 40 | 3 |
{-# LANGUAGE OverloadedStrings #-}
import Github.Issues
import Data.Either
import Data.Maybe
import Data.Time.Clock
import Data.Time.Calendar (addDays)
import Data.Aeson
import Data.Monoid
import Data.Configurator
import qualified Data.Configurator.Types as DCTypes (Value)
import Web.Scotty
import Network.HTTP.T... | rkday/github-dashboard | github-dashboard.hs | mit | 7,983 | 0 | 17 | 2,492 | 2,240 | 1,126 | 1,114 | 143 | 4 |
{-|
Module : Utils.Tuple
Description : Utilities for working with tuples
Copyright : (c) Tessa Belder 2015-2016
This module contains useful functions for working with tuples.
-}
module Utils.Tuple (
unzipConcat,
mapFst, mapSnd,
tmap, tmap2,
swap,
fst3, snd3, thrd3,
... | julienschmaltz/madl | src/Utils/Tuple.hs | mit | 1,805 | 0 | 8 | 464 | 636 | 386 | 250 | 34 | 1 |
-----------------------------------------------------------------------------
-- |
-- Module : Control.AFSM.CoreType
-- Copyright : (c) Hanzhong Xu, Meng Meng 2016,
-- License : MIT License
--
-- Maintainer : hanzh.xu@gmail.com
-- Stability : experimental
-- Portability : portable
------------------... | PseudoPower/AFSM | src/Control/AFSM/CoreType.hs | mit | 2,652 | 0 | 10 | 662 | 456 | 262 | 194 | 26 | 1 |
{-# htermination max :: Int -> Int -> Int #-}
| ComputationWithBoundedResources/ara-inference | doc/tpdb_trs/Haskell/full_haskell/Prelude_max_5.hs | mit | 46 | 0 | 2 | 10 | 3 | 2 | 1 | 1 | 0 |
{-# LANGUAGE OverloadedStrings #-}
module OptionsSpec(spec) where
import Control.Lens
import System.NotifySend
import Test.Hspec
import Test.QuickCheck
import Data.Text
spec :: Spec
spec = do
describe "Command line options to notify-send" $ do
it "should encode correctl... | bobjflong/notify-send | test/OptionsSpec.hs | mit | 640 | 0 | 22 | 151 | 203 | 113 | 90 | 14 | 1 |
import Data.List (intersect)
import GHC.Exts (sortWith)
type Value = Int
type Board = [Value]
type Col = Int
type Row = Int
type Index = Int
type Block = Int
easy, hard, evil :: String
easy = "530070000600195000098000060800060003400803001700020006060000280000419005000080079"
hard = "0000030202000190000010080976000000... | derkyjadex/sudoku-solver | Main.hs | mit | 3,651 | 0 | 14 | 1,055 | 1,406 | 741 | 665 | 105 | 3 |
--The MIT License (MIT)
--
--Copyright (c) 2017 Steffen Michels (mail@steffen-michels.de)
--
--Permission is hereby granted, free of charge, to any person obtaining a copy of
--this software and associated documentation files (the "Software"), to deal in
--the Software without restriction, including without limitation ... | SteffenMichels/IHPMC | src/AstPreprocessor.hs | mit | 10,833 | 3 | 25 | 3,453 | 2,684 | 1,495 | 1,189 | -1 | -1 |
module GeneratorSpec where
import TestImport
import qualified Data.Map as M
import Data.List.NonEmpty (NonEmpty(..))
type UserId = Int
type NonEmptyUserId = NonEmpty UserId
resources :: [ResourceTree String]
resources = [parseRoutes|
/api ApiP:
/users/#UserId UsersR GET
/users/#Int/foo UsersFooR GET
/u... | frontrowed/yesod-routes-flow | test/GeneratorSpec.hs | mit | 5,708 | 0 | 25 | 2,548 | 815 | 415 | 400 | -1 | -1 |
module System.Logging.Facade.Types where
data LogLevel = TRACE | DEBUG | INFO | WARN | ERROR
deriving (Eq, Show, Ord, Bounded, Enum)
data Location = Location {
locationPackage :: String
, locationModule :: String
, locationFile :: String
, locationLine :: Int
, locationColumn :: Int
} deriving (Eq, Show)
data Lo... | beni55/logging-facade | src/System/Logging/Facade/Types.hs | mit | 460 | 0 | 9 | 79 | 141 | 85 | 56 | 15 | 0 |
{-|
Module : TestPrint.Problen.BSP.CNF
Description : The CNF type Printer tests
Copyright : (c) Andrew Burnett 2014-2015
Maintainer : andyburnett88@gmail.com
Stability : experimental
Portability : Unknown
The Test Tree Node for the CNF type's Printer Tests
-}
module TestPrint.Problem.BSP.CNF (
printer, --... | aburnett88/HSat | tests-src/TestPrint/Problem/BSP/CNF.hs | mit | 867 | 0 | 9 | 192 | 209 | 133 | 76 | 22 | 1 |
{-# LANGUAGE OverloadedStrings #-}
module Web.Twitter.PleaseCaption.Status ( getExtendedEntities
, hasPhotoEntities
, hasAltText
, asText
) where
import Data.... | stillinbeta/pleasecaption | src/Web/Twitter/PleaseCaption/Status.hs | mit | 1,169 | 0 | 11 | 351 | 295 | 167 | 128 | 24 | 1 |
module TruthTable.Entry where
import TruthTable.Logic
import TruthTable.Parser
import TruthTable.Printing
import System.Environment
import Data.List
entry :: IO ()
entry = getArgs >>= return . intercalate " " >>=
putStrLn . printResultOrErrorWithDefaultConfig .
genTruthTable . parseGrammar . lex... | tjakway/truth-table-generator | src/TruthTable/Entry.hs | mit | 323 | 0 | 11 | 60 | 77 | 42 | 35 | 10 | 1 |
{- Alec Snyder
- hw 10 Globber Test Suite
- github repo: https://github.com/allonsy/globber
-}
module Main (main) where
import Test.Hspec
import Globber
main :: IO ()
main = hspec $ describe "Testing Globber" $ do
describe "empty pattern" $ do
it "matches empty string" $
matchGlob "" "" `shouldBe... | allonsy/globber | TestGlobber.hs | mit | 2,210 | 0 | 13 | 600 | 473 | 226 | 247 | 46 | 1 |
module Tyle.Parsers where
import Text.Parsec
import Text.Parsec.Char
import Text.Parsec.String
import Text.Parsec.Combinator
import Control.Monad (liftM)
import Tyle.Grammar
lambda :: Parser String
lambda = choice $ map string [ "lambda"
, "\\"
, "\955"
... | gambogi/tyle | Tyle/Parsers.hs | mit | 1,188 | 0 | 11 | 386 | 400 | 201 | 199 | 47 | 1 |
{-# htermination enumFromThen :: () -> () -> [()] #-}
| ComputationWithBoundedResources/ara-inference | doc/tpdb_trs/Haskell/full_haskell/Prelude_enumFromThen_2.hs | mit | 54 | 0 | 2 | 10 | 3 | 2 | 1 | 1 | 0 |
-- Getting the last element from a list of n numbers using recursion
my_last n = if length n == 0
then (error "Empty list has no end defined")
else if length n == 1
then head []
else my_last (tail n)
main = print (my_last [1,2,3,4])
| creativcoder/recurse | 99Problems/last_element.hs | mit | 285 | 0 | 9 | 99 | 86 | 45 | 41 | 6 | 3 |
-----------------------------------------------------------------------------
--
-- Module : Drool.UI.GLWindow
-- Copyright : Tobias Fuchs
-- License : AllRightsReserved
--
-- Maintainer : twh.fuchs@gmail.com
-- Stability : experimental
-- Portability : POSIX
--
-- |
--
-----------------------------... | fuchsto/drool | src/Drool/UI/GLWindow.hs | mit | 15,073 | 0 | 19 | 3,564 | 3,198 | 1,619 | 1,579 | 214 | 4 |
import System.IO
-- For now, only takes one line
-- Curried function, predicate (Char -> Bool) on String results in List of Strings
splitBy :: (Char -> Bool) -> String -> [String]
-- p is predicate, s is string
-- dropWhile is the remains of taking while (takeWhile) p is satisfied
splitBy p s = case dropWhile p s of... | michaelx11/multilingo | StringOperations/src/splitBySpace.hs | mit | 929 | 0 | 10 | 338 | 129 | 71 | 58 | 9 | 2 |
module Examples.Reader where
import Control.Effects.Eff
import Control.Effects.Reader
import Control.Effects.Exception
prg1 = ask
prg1run x = runPure . handle (readerHandler x)
prg1res :: Int -> Int
prg1res x = prg1run x prg1
| edofic/effect-handlers | test/Examples/Reader.hs | mit | 231 | 0 | 8 | 36 | 72 | 40 | 32 | 8 | 1 |
{-# LANGUAGE Trustworthy #-}
{-# LANGUAGE ScopedTypeVariables #-}
{- | This module exports a class 'Groups' that policy modules
must define an instance of to define groups, or mappings
between a group 'Principal'and the principals in the group.
An app may then relabel a labeled value by using 'labelRewrite'.
-}
modu... | scslab/hails | Hails/PolicyModule/Groups.hs | mit | 4,087 | 0 | 19 | 1,270 | 630 | 340 | 290 | 50 | 3 |
{- |
Module : ./OWL2/Translate.hs
Description : translate string to OWL2 valid names
Copyright : (c) C. Maeder, DFKI GmbH 2012
License : GPLv2 or higher, see LICENSE.txt
Maintainer : Christian.Maeder@dfki.de
Stability : provisional
Portability : portable
-}
module OWL2.Translate where
import Com... | spechub/Hets | OWL2/Translate.hs | gpl-2.0 | 1,528 | 0 | 17 | 377 | 395 | 212 | 183 | 29 | 3 |
-- xmonad: Personal module: Hook Startup
-- Author: Simon L. J. Robin | https://sljrobin.org
--------------------------------------------------------------------------------
module Hook_Startup where
--------------------------------------------------------------------------------
-- * `XMonad.Hooks.SetWMName` -> Sets ... | sljrobin/dotfiles | xmonad/.xmonad/lib/Hook_Startup.hs | gpl-2.0 | 710 | 0 | 7 | 52 | 31 | 22 | 9 | 4 | 1 |
{-# LANGUAGE OverloadedStrings #-}
module IniParserTest where
import Data.Map (Map)
import qualified Data.Map as M
import Text.Trifecta
import Test.Hspec
import IniParser
maybeSuccess :: Result a -> Maybe a
maybeSuccess (Success a) = Just a
maybeSuccess _ = Nothing
iniParserTest :: IO ()
iniParserTest = hspec $ do... | nirvinm/Solving-Exercises-in-Haskell-Programming-From-First-Principles | ParserCombinators/test/IniParserTest.hs | gpl-3.0 | 1,968 | 0 | 21 | 623 | 550 | 274 | 276 | 49 | 1 |
main :: IO ()
main = do
putStrLn "Running tests"
| jerhoud/true-real | test/Test.hs | gpl-3.0 | 51 | 0 | 7 | 12 | 22 | 10 | 12 | 3 | 1 |
<?xml version='1.0' encoding='ISO-8859-1' ?>
<!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">
<title>Sentinel-2 Toolbox Help</title>
<maps>
<homeID>top</homeID>
... | corinavaduva/s2tbx-s2tbx-1.0.2 | s2tbx-help/src/main/resources/doc/help/beam.hs | gpl-3.0 | 956 | 69 | 53 | 210 | 367 | 183 | 184 | -1 | -1 |
module Selection where
import System.Exit
import System.IO
import System.Process
-- | If no selector command is given, then the options are displayed on stdout
-- and the user is prompted to enter one of them on stdin. If a selector command
-- (such as `dmenu') is given, then the options are sent to selector command ... | frozencemetery/haskey | src/Selection.hs | gpl-3.0 | 1,556 | 0 | 13 | 541 | 332 | 176 | 156 | 38 | 2 |
-- {-# LANGUAGE GADTs #-}
{-# LANGUAGE ScopedTypeVariables #-}
module Symdiff (diff) where
import Data.Array.Accelerate.Smart (Exp)
import Data.Array.Accelerate (foreignExp)
import Types
import qualified AST.Diff
-- import qualified AST.Grad
import qualified AST.PrimFun
import Differentiate -- (Differentiate, Differen... | johncant/accelerate-symdiff | src/Symdiff.hs | gpl-3.0 | 1,421 | 0 | 10 | 279 | 244 | 144 | 100 | 21 | 1 |
{-# LANGUAGE DeriveDataTypeable #-}
{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RecordWildCards #-}
{-# OPTIONS_GHC -fno-warn-unused-binds #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
-- |
-- Module : Network.Google.SafeBrowsin... | brendanhay/gogol | gogol-safebrowsing/gen/Network/Google/SafeBrowsing/Types/Product.hs | mpl-2.0 | 78,630 | 0 | 19 | 15,579 | 10,244 | 5,878 | 4,366 | 1,326 | 1 |
-- split "asdf" 2 = "as", "df"
split :: [a] -> Int -> ([a], [a])
split [] _ = ([], [])
split xs 0 = ([], xs)
split (x:xs) n =
let yy = split xs (n-1) in
([x] ++ fst yy, snd yy)
| ekalosak/haskell-practice | pr17.hs | lgpl-3.0 | 190 | 0 | 11 | 57 | 129 | 70 | 59 | 6 | 1 |
import Ring_7
main = do print $ take 10 [Z 6, Z 8..]
print $ [Z 1, Z 3..Z 6]
print $ [Z 1, Z 1..Z 1] | bestian/haskell-sandbox | r7_test1.hs | unlicense | 121 | 0 | 10 | 47 | 81 | 38 | 43 | 4 | 1 |
{-# LANGUAGE OverloadedStrings #-}
module Main where
-- import Lib
-- main :: IO ()
-- main = someFunc
import Control.Applicative
import App
main :: IO ()
main = run | DominikDitoIvosevic/yafebe | back/app/Main.hs | apache-2.0 | 170 | 0 | 6 | 34 | 31 | 20 | 11 | 6 | 1 |
module Main where
import MonteCarloGui
main :: IO ()
main = monteCarloGui
| alexandersgreen/alex-haskell | MonteCarloPi/Main.hs | apache-2.0 | 76 | 0 | 6 | 14 | 22 | 13 | 9 | 4 | 1 |
-- | The fully-qualified HaskellExpr representation of some functions from base.
module Data.HaskellExpr.Base where
import Data.HaskellExpr
eId :: HaskellExpr (a -> a)
eId = qualified "Prelude" "id"
eConst :: HaskellExpr (a -> b -> a)
eConst = qualified "Prelude" "const"
eFlip :: HaskellExpr ((a -> b -> c) -> b ->... | gelisam/hawk | src/Data/HaskellExpr/Base.hs | apache-2.0 | 627 | 0 | 10 | 114 | 234 | 125 | 109 | 14 | 1 |
{-# OPTIONS -fglasgow-exts #-}
-----------------------------------------------------------------------------
{-| Module : QStyleHintReturn.hs
Copyright : (c) David Harley 2010
Project : qtHaskell
Version : 1.1.4
Modified : 2010-09-02 17:02:35
Warning : this file is machine generated -... | uduki/hsQt | Qtc/Enums/Gui/QStyleHintReturn.hs | bsd-2-clause | 6,376 | 0 | 18 | 1,350 | 1,610 | 789 | 821 | 136 | 1 |
-----------------------------------------------------------------------------
-- |
-- Module : Data.SBV.Compilers.C
-- Copyright : (c) Levent Erkok
-- License : BSD3
-- Maintainer : erkokl@gmail.com
-- Stability : experimental
--
-- Compilation of symbolic programs to C
------------------------------... | dylanmc/cryptol | sbv/Data/SBV/Compilers/C.hs | bsd-3-clause | 39,515 | 0 | 49 | 14,462 | 11,883 | 6,097 | 5,786 | 586 | 49 |
{-# OPTIONS_GHC -Wall #-}
{-# LANGUAGE TupleSections #-}
module Algw.Infer where
import Algw.Ast
import Algw.Type
import Algw.Env
import State
import Data.IORef
import Data.Maybe
import Control.Monad
import qualified Data.Map as M
import qualified Data.Set as S
makeNewVar :: Infer (Infer TName)
makeNewVar =
do r <... | zjhmale/HMF | src/Algw/Infer.hs | bsd-3-clause | 3,788 | 0 | 13 | 1,028 | 1,223 | 609 | 614 | 77 | 1 |
{-# LANGUAGE NoImplicitPrelude #-}
{-# LANGUAGE OverloadedStrings #-}
module Mismi.SQS.Core.Data (
QueueName (..)
, Queue (..)
, QueueUrl (..)
, MessageId (..)
) where
import Mismi.Kernel.Data (MismiRegion)
import P
-- Queue names are limited to 80 characters. Alphanumeric characters... | ambiata/mismi | mismi-sqs-core/src/Mismi/SQS/Core/Data.hs | bsd-3-clause | 867 | 0 | 8 | 213 | 162 | 106 | 56 | 26 | 0 |
{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE StandaloneDeriving #-}
{-# LANGUAGE DataKinds #-} -- these two needed for help output
{-# LANGUAGE TypeOperators #-}
module Types where
import Data.Hashable
import qualified Data.HashMap.Strict as H
import Data.Csv hiding (look... | VDBWRAIR/Haskell-MAAPs | src/Types.hs | bsd-3-clause | 2,660 | 0 | 10 | 656 | 538 | 322 | 216 | 50 | 1 |
module Stream
( tests -- :: Int -> Tests
) where
import Control.Monad
import Data.Bits
import Data.ByteString (ByteString)
import qualified Data.ByteString as S
import Crypto.Encrypt.Stream
import Crypto.Key
import Crypto.Nonce... | thoughtpolice/hs-nacl | tests/Stream.hs | bsd-3-clause | 1,246 | 0 | 14 | 343 | 351 | 189 | 162 | 33 | 1 |
module Network.Email.Parser
( -- | Encodings
quotedPrintable
, base64
, crlfText
, -- | Mail
headers
, mail
) where
import Prelude hiding (takeWhile)
import Data.List hiding (takeWhile)
import Data.Maybe
import Data.Monoid
import Control.Applicative
import Co... | abbradar/email | src/Network/Email/Parser.hs | bsd-3-clause | 4,533 | 0 | 18 | 1,051 | 1,360 | 731 | 629 | -1 | -1 |
-- |
-- Copyright : Anders Claesson 2013-2016
-- Maintainer : Anders Claesson <anders.claesson@gmail.com>
--
-- Components of permutations.
--
module Sym.Perm.Component
(
components
, skewComponents
, leftMaxima
, leftMinima
, rightMaxima
, rightMinima
) where
import Foreign
impo... | akc/sym | Sym/Perm/Component.hs | bsd-3-clause | 2,272 | 0 | 14 | 617 | 728 | 391 | 337 | 45 | 3 |
#define IncludedcatIndices
#ifdef IncludedmakeIndicesNull
#else
#include "../Proofs/makeIndicesNull.hs"
#endif
#ifdef IncludedmergeIndices
#else
#include "../Proofs/mergeIndices.hs"
#endif
#ifdef IncludedconcatMakeIndices
#else
#include "../Proofs/concatMakeIndices.hs"
#endif
catIndices :: RString ->... | nikivazou/verified_string_matching | src/Proofs/catIndices.hs | bsd-3-clause | 1,558 | 0 | 16 | 318 | 328 | 163 | 165 | 13 | 1 |
{-
(c) The GRASP/AQUA Project, Glasgow University, 1992-2006
\section[RnEnv]{Environment manipulation for the renamer monad}
-}
{-# LANGUAGE CPP #-}
module ETA.Rename.RnEnv (
newTopSrcBinder,
lookupLocatedTopBndrRn, lookupTopBndrRn,
lookupLocatedOccRn, lookupOccRn, lookupOccRn_maybe,
... | alexander-at-github/eta | compiler/ETA/Rename/RnEnv.hs | bsd-3-clause | 81,249 | 105 | 31 | 23,655 | 12,635 | 6,696 | 5,939 | 932 | 13 |
{-# OPTIONS_GHC -W #-}
module Type.Inference where
import qualified Data.Map as Map
import qualified Type.Type as T
import qualified Type.Environment as Env
import qualified Type.Constrain.Expression as TcExpr
import qualified Type.Solve as Solve
import SourceSyntax.Module as Module
import SourceSyntax.Annotation (n... | deadfoxygrandpa/Elm | compiler/Type/Inference.hs | bsd-3-clause | 2,377 | 0 | 24 | 533 | 793 | 419 | 374 | 46 | 4 |
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE MultiWayIf #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE OverloadedStrings #-}
module Lazyfoo.Lesson15 (main) where
import Control.Applicative
import Control.Monad
import Data.Foldable
import Data.Monoid
import Data.Maybe
import Foreign.C.Types
import Linear
import Linear.A... | svenkeidel/sdl2 | examples/lazyfoo/Lesson15.hs | bsd-3-clause | 4,292 | 0 | 33 | 1,360 | 1,293 | 640 | 653 | 99 | 10 |
{-# LANGUAGE CPP #-}
{-# LANGUAGE DataKinds #-}
{-# LANGUAGE FlexibleContexts #-}
{-# LANGUAGE FlexibleInstances #-}
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE MultiParamTypeClasses #-}
{-# LANGUAGE PolyKinds #-}
{-# LANGUAGE ScopedTypeVariables #-}
{-# LANG... | achirkin/easytensor | easytensor/src/Numeric/Subroutine/Sort.hs | bsd-3-clause | 9,742 | 2 | 21 | 3,571 | 3,549 | 1,775 | 1,774 | 213 | 3 |
{-# LANGUAGE MultiParamTypeClasses #-}
{-# LANGUAGE TypeFamilies #-}
-- |
-- Module : Data.Array.Repa.Mutable
-- Copyright : (c) Geoffrey Mainland 2012
-- License : BSD-style
--
-- Maintainer : Geoffrey Mainland <mainland@apeiron.net>
-- Stability : experimental
-- Portability : non-portable
--
-- This m... | mainland/nikola | src/Data/Array/Repa/Mutable.hs | bsd-3-clause | 1,025 | 0 | 11 | 229 | 156 | 92 | 64 | 10 | 0 |
-- typeInference2.hs
module TypeInference2 where
f x y = x + y + 3
| renevp/hello-haskell | src/typeInference2.hs | bsd-3-clause | 67 | 0 | 6 | 14 | 23 | 13 | 10 | 2 | 1 |
{-# OPTIONS_GHC -Wall #-}
{-# LANGUAGE CPP #-}
module Language.Sh.Glob ( expandGlob, matchPattern,
removePrefix, removeSuffix ) where
import Control.Monad.Trans ( MonadIO )
import Control.Monad.State ( runState, put )
import Data.List ( isPrefixOf, partition )
import Data.Maybe ( isJust, list... | shicks/shsh | Language/Sh/Glob.hs | bsd-3-clause | 12,285 | 0 | 16 | 5,425 | 1,847 | 964 | 883 | 162 | 24 |
import Data.Array
import Data.List
import Data.Ord (comparing)
syrs n = a
where
a = listArray (1,n) $ 0:[1 + syr n x | x <- [2..n]]
syr n x = if x' <= n then a ! x' else 1 + syr n x'
where
x' = if even x then x `div` 2 else 3 * x + 1
main = print $ maximumBy (comparin... | dterei/Scraps | euler/p14/p14_mem.hs | bsd-3-clause | 352 | 1 | 10 | 125 | 176 | 92 | 84 | 8 | 3 |
{- |
Module : ./Omega/Export.hs
Description : export a development graph to an omega library
Copyright : (c) Ewaryst Schulz, DFKI Bremen 2009
License : GPLv2 or higher, see LICENSE.txt
Maintainer : Ewaryst.Schulz@dfki.de
Stability : provisional
Portability : non-portable(Logic)
A given development... | spechub/Hets | Omega/Export.hs | gpl-2.0 | 2,732 | 0 | 18 | 634 | 606 | 319 | 287 | 53 | 1 |
f :: IO
f = putStrLn "hello, world!"
| roberth/uu-helium | test/kinderrors/KindError3.hs | gpl-3.0 | 37 | 0 | 6 | 8 | 20 | 8 | 12 | 2 | 1 |
module PTS.Syntax.Algebra
( PreAlgebra
, Algebra
, fold
, strip
, allvars
, allvarsAlgebra
, freevars
, freevarsAlgebra
, freshvar
, depZip
) where
import Data.Set (Set)
import qualified Data.Set as Set
import PTS.Syntax.Names
import PTS.Syntax.Term
-- algebras
type PreAlgebra alpha beta
= Te... | Toxaris/pts | src-lib/PTS/Syntax/Algebra.hs | bsd-3-clause | 1,900 | 0 | 11 | 485 | 750 | 396 | 354 | 50 | 8 |
module Main where
import Prelude hiding ((+),(-))
import System.Environment
import DeepGADT
import IO
main = do
args <- getArgs
let [inImg,outImg] = args
img1 <- readImgAsVector inImg
newImg <- printTimeDeep (run ((integer 30) + (blurY (blurX (image img1)))))
writeVectorImage outImg newImg
| robstewart57/small-image-processing-dsl-implementations | haskell/small-image-processing-dsl/app/deep-gadt/prog5.hs | bsd-3-clause | 314 | 0 | 18 | 64 | 124 | 66 | 58 | 11 | 1 |
{-|
Module : Database.Test.MultiConnect
Copyright : (c) 2004 Oleg Kiselyov, Alistair Bayley
License : BSD-style
Maintainer : oleg@pobox.com, alistair@abayley.org
Stability : experimental
Portability : non-portable
Tests Database.Enumerator code in the context of multiple
database connectio... | bagl/takusen-oracle | Database/Test/MultiConnect.hs | bsd-3-clause | 1,200 | 0 | 18 | 222 | 207 | 118 | 89 | -1 | -1 |
module StoryMode.Paths where
import System.Directory
import System.FilePath
import Utils
getStoryModePath :: IO (Maybe FilePath)
getStoryModePath = do
dir <- getAppUserDataDirectory "nikki-story-mode"
exists <- doesDirectoryExist dir
return $ if exists then Just dir else Nothing
createStoryModePath :... | changlinli/nikki | src/StoryMode/Paths.hs | lgpl-3.0 | 1,255 | 0 | 13 | 217 | 344 | 172 | 172 | 32 | 2 |
-----------------------------------------------------------------------------
-- |
-- Module : Tuura.Plato.Translate.Translation
-- Copyright : (c) 2015-2018, Tuura authors
-- License : BSD (see the file LICENSE)
-- Maintainer : jonathan.r.beaumont@gmail.com
-- Stability : experimental
--
-- Plato is a tool wh... | tuura/concepts | src/Tuura/Plato/Translate/Translation.hs | bsd-3-clause | 8,661 | 0 | 15 | 1,854 | 1,373 | 727 | 646 | 81 | 5 |
module Dotnet.System.Xml.XmlProcessingInstruction where
import Dotnet
import qualified Dotnet.System.Xml.XmlLinkedNode
import Dotnet.System.Xml.XmlWriter
import Dotnet.System.Xml.XmlNode
import Dotnet.System.Xml.XmlNodeType
data XmlProcessingInstruction_ a
type XmlProcessingInstruction a = Dotnet.System.Xml.XmlLinked... | alekar/hugs | dotnet/lib/Dotnet/System/Xml/XmlProcessingInstruction.hs | bsd-3-clause | 2,475 | 0 | 11 | 265 | 456 | 251 | 205 | -1 | -1 |
{-# LANGUAGE BangPatterns #-}
foo = case v of !(x : xs) -> x
| mpickering/hlint-refactor | tests/examples/Structure19.hs | bsd-3-clause | 61 | 0 | 10 | 14 | 25 | 13 | 12 | 2 | 1 |
{-
BackendCommon: Common code used by most backends
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 writin... | utsav2601/cmpe295A | tools/flounder/BackendCommon.hs | mit | 18,497 | 0 | 17 | 4,135 | 5,365 | 2,754 | 2,611 | 293 | 4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.