Search is not available for this dataset
repo_name string | path string | license string | full_code string | full_size int64 | uncommented_code string | uncommented_size int64 | function_only_code string | function_only_size int64 | is_commented bool | is_signatured bool | n_ast_errors int64 | ast_max_depth int64 | n_whitespaces int64 | n_ast_nodes int64 | n_ast_terminals int64 | n_ast_nonterminals int64 | loc int64 | cycloplexity int64 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
rueshyna/gogol | gogol-dfareporting/gen/Network/Google/DFAReporting/Types/Product.hs | mpl-2.0 | -- | Identifies what kind of resource this is. Value: the fixed string
-- \"dfareporting#userRolesListResponse\".
urlrKind :: Lens' UserRolesListResponse Text
urlrKind = lens _urlrKind (\ s a -> s{_urlrKind = a}) | 212 | urlrKind :: Lens' UserRolesListResponse Text
urlrKind = lens _urlrKind (\ s a -> s{_urlrKind = a}) | 98 | urlrKind = lens _urlrKind (\ s a -> s{_urlrKind = a}) | 53 | true | true | 1 | 9 | 30 | 45 | 23 | 22 | null | null |
ucla-pls/wiretap-tools | src/Wiretap/Data/MiniParser.hs | gpl-3.0 | drawWord16be :: MiniParser Word16
drawWord16be = MiniParser $ \bs ->
let (bs', rest) = BL.splitAt 4 bs in
if BL.length bs' == 4 then
let w1 = BL.index bs' 0
w2 = BL.index bs' 1
in
-- Borrowed from Data.Binary.Get
Just ( fromIntegral w1 `shiftl_w16` 8
.|. fromIntegral w2
... | 354 | drawWord16be :: MiniParser Word16
drawWord16be = MiniParser $ \bs ->
let (bs', rest) = BL.splitAt 4 bs in
if BL.length bs' == 4 then
let w1 = BL.index bs' 0
w2 = BL.index bs' 1
in
-- Borrowed from Data.Binary.Get
Just ( fromIntegral w1 `shiftl_w16` 8
.|. fromIntegral w2
... | 354 | drawWord16be = MiniParser $ \bs ->
let (bs', rest) = BL.splitAt 4 bs in
if BL.length bs' == 4 then
let w1 = BL.index bs' 0
w2 = BL.index bs' 1
in
-- Borrowed from Data.Binary.Get
Just ( fromIntegral w1 `shiftl_w16` 8
.|. fromIntegral w2
, rest)
else Nothing | 320 | false | true | 0 | 16 | 115 | 121 | 61 | 60 | null | null |
hiratara/TypedPerl | test/TypedPerl/Test/Parser.hs | bsd-3-clause | tests :: Test
tests = TestList [
(TestCase $ do
let Right t = parsePerl "1"
assertEqual "int" (PerlInt 1) t
)
, (TestCase $ do
let Right t = parsePerl "x(1)"
assertEqual "call" (PerlApp (PerlVar (VarSub "x")) [PerlInt 1]) t
)
, (TestCase $ do
let Right t = parsePerl "x()"
a... | 1,851 | tests :: Test
tests = TestList [
(TestCase $ do
let Right t = parsePerl "1"
assertEqual "int" (PerlInt 1) t
)
, (TestCase $ do
let Right t = parsePerl "x(1)"
assertEqual "call" (PerlApp (PerlVar (VarSub "x")) [PerlInt 1]) t
)
, (TestCase $ do
let Right t = parsePerl "x()"
a... | 1,851 | tests = TestList [
(TestCase $ do
let Right t = parsePerl "1"
assertEqual "int" (PerlInt 1) t
)
, (TestCase $ do
let Right t = parsePerl "x(1)"
assertEqual "call" (PerlApp (PerlVar (VarSub "x")) [PerlInt 1]) t
)
, (TestCase $ do
let Right t = parsePerl "x()"
assertEqual "ca... | 1,837 | false | true | 0 | 19 | 712 | 623 | 294 | 329 | null | null |
luzhuomi/cpp-obs | Language/C/Obfuscate/CFG.hs | apache-2.0 | -- require container's scalar copy, see SSA scalar copy
getVarsFromLHS (AST.CUnary op e _) = getVarsFromLHS e | 109 | getVarsFromLHS (AST.CUnary op e _) = getVarsFromLHS e | 53 | getVarsFromLHS (AST.CUnary op e _) = getVarsFromLHS e | 53 | true | false | 0 | 8 | 16 | 25 | 12 | 13 | null | null |
jsnajder/hofm | src/MorphGrammar/Hofm/Language/Croatian/Inflection.hs | bsd-3-clause | v21 = iPattern "V21" "Vm" -- prati (v5r3b)
(ends ["r"])
[rsfx "er" "rati" # ["n----"],
rsfx "er" "rat" # ["n"],
sfx "em" # ["ip1s"],
sfx "eš" # ["ip2s"],
sfx "e" # ["ip3s"],
sfx "emo" # ["ip1p"],
sfx "ete" # ["ip2p"],
sfx "u" # ["ip3p"],... | 646 | v21 = iPattern "V21" "Vm" -- prati (v5r3b)
(ends ["r"])
[rsfx "er" "rati" # ["n----"],
rsfx "er" "rat" # ["n"],
sfx "em" # ["ip1s"],
sfx "eš" # ["ip2s"],
sfx "e" # ["ip3s"],
sfx "emo" # ["ip1p"],
sfx "ete" # ["ip2p"],
sfx "u" # ["ip3p"],... | 646 | v21 = iPattern "V21" "Vm" -- prati (v5r3b)
(ends ["r"])
[rsfx "er" "rati" # ["n----"],
rsfx "er" "rat" # ["n"],
sfx "em" # ["ip1s"],
sfx "eš" # ["ip2s"],
sfx "e" # ["ip3s"],
sfx "emo" # ["ip1p"],
sfx "ete" # ["ip2p"],
sfx "u" # ["ip3p"],... | 646 | false | false | 0 | 7 | 242 | 277 | 147 | 130 | null | null |
tbarnetlamb/hyphen | hyphen/lowlevel_src/HyphenBase.hs | gpl-2.0 | -- Arrange that Either ErrMsg is a monad by creating an Error (ErrMsg)
-- instance. We also define a 'report' function which raises an error
-- in this monad.
report = Left . ErrMsg . T.pack :: String -> Either ErrMsg a | 221 | report = Left . ErrMsg . T.pack :: String -> Either ErrMsg a | 60 | report = Left . ErrMsg . T.pack :: String -> Either ErrMsg a | 60 | true | false | 4 | 5 | 43 | 32 | 16 | 16 | null | null |
nuttycom/haskoin | Network/Haskoin/Script/SigHash.hs | unlicense | txSigHash :: Tx -- ^ Transaction to sign.
-> Script -- ^ Output script that is being spent.
-> Int -- ^ Index of the input that is being signed.
-> SigHash -- ^ What parts of the transaction should be signed.
-> Word256 -- ^ Result hash to be signed.
txSigHash tx out i ... | 711 | txSigHash :: Tx -- ^ Transaction to sign.
-> Script -- ^ Output script that is being spent.
-> Int -- ^ Index of the input that is being signed.
-> SigHash -- ^ What parts of the transaction should be signed.
-> Word256
txSigHash tx out i sh = do
let newIn = buildIn... | 680 | txSigHash tx out i sh = do
let newIn = buildInputs (txIn tx) out i sh
-- When SigSingle and input index > outputs, then sign integer 1
fromMaybe (setBit 0 248) $ do
newOut <- buildOutputs (txOut tx) i sh
let newTx = tx{ txIn = newIn, txOut = newOut }
return $ doubleHash256 $ encode' ... | 410 | true | true | 0 | 14 | 205 | 153 | 78 | 75 | null | null |
MathiasVP/syntax-checker-checker | qcsyntax.hs | mit | shrinkExpression (Boolean _) = [] | 33 | shrinkExpression (Boolean _) = [] | 33 | shrinkExpression (Boolean _) = [] | 33 | false | false | 0 | 7 | 4 | 17 | 8 | 9 | null | null |
wrengr/bytestring-trie | dev/Test/Validity.hs | bsd-3-clause | maskRespected :: Trie a -> Bool
maskRespected = go
where
go Empty = True
go (Arc _ _ t) = go t
go (Branch _ m l r) = and
-- TODO: fix this O(n^2) traversal of the collection of branches.
[ all (\x -> BT.zero x m) (keyHeads l)
, all (\x -> not (BT.zero x m)) ... | 503 | maskRespected :: Trie a -> Bool
maskRespected = go
where
go Empty = True
go (Arc _ _ t) = go t
go (Branch _ m l r) = and
-- TODO: fix this O(n^2) traversal of the collection of branches.
[ all (\x -> BT.zero x m) (keyHeads l)
, all (\x -> not (BT.zero x m)) ... | 503 | maskRespected = go
where
go Empty = True
go (Arc _ _ t) = go t
go (Branch _ m l r) = and
-- TODO: fix this O(n^2) traversal of the collection of branches.
[ all (\x -> BT.zero x m) (keyHeads l)
, all (\x -> not (BT.zero x m)) (keyHeads r)
, go l
... | 471 | false | true | 0 | 13 | 156 | 162 | 78 | 84 | null | null |
remyoudompheng/hs-language-go | tests/Tests/Types.hs | gpl-3.0 | uI = IfaceType (M.singleton "m" (Signature [] [nInt] False)) | 60 | uI = IfaceType (M.singleton "m" (Signature [] [nInt] False)) | 60 | uI = IfaceType (M.singleton "m" (Signature [] [nInt] False)) | 60 | false | false | 1 | 10 | 8 | 38 | 17 | 21 | null | null |
bgbianchi/sorting | hs/PLRTree.hs | mit | last (Right _ _ r) = last r | 27 | last (Right _ _ r) = last r | 27 | last (Right _ _ r) = last r | 27 | false | false | 0 | 6 | 7 | 23 | 10 | 13 | null | null |
themoritz/cabal | Cabal/Distribution/Simple/Setup.hs | bsd-3-clause | readPackageDbList other = [Just (SpecificPackageDB other)] | 61 | readPackageDbList other = [Just (SpecificPackageDB other)] | 61 | readPackageDbList other = [Just (SpecificPackageDB other)] | 61 | false | false | 0 | 8 | 8 | 21 | 10 | 11 | null | null |
nevrenato/HetsAlloy | CSL/AS_BASIC_CSL.hs | gpl-2.0 | {- | Mapping of operator names to arity-'OpInfo'-maps (an operator may
behave differently for different arities). -}
getOpInfoMap :: (OpInfo -> String) -> [OpInfo] -> OpInfoMap
getOpInfoMap pf = foldl f Map.empty
where f m oi = Map.insertWith Map.union (pf oi)
(Map.fromList [(arity oi, oi)]) m
-... | 394 | getOpInfoMap :: (OpInfo -> String) -> [OpInfo] -> OpInfoMap
getOpInfoMap pf = foldl f Map.empty
where f m oi = Map.insertWith Map.union (pf oi)
(Map.fromList [(arity oi, oi)]) m
-- | Same as operatorInfoMap but with keys of type OPNAME instead of String | 277 | getOpInfoMap pf = foldl f Map.empty
where f m oi = Map.insertWith Map.union (pf oi)
(Map.fromList [(arity oi, oi)]) m
-- | Same as operatorInfoMap but with keys of type OPNAME instead of String | 217 | true | true | 1 | 10 | 83 | 105 | 49 | 56 | null | null |
chreekat/snowdrift | Handler/Project.hs | agpl-3.0 | getEditProjectR :: Text -> Handler Html
getEditProjectR project_handle = do
(_, Entity project_id project) <-
requireRolesAny [Admin] project_handle "You do not have permission to edit this project."
tags <- runDB $
select $
from $ \(p_t `InnerJoin` tag) -> do
on_ (p_t ^. Projec... | 846 | getEditProjectR :: Text -> Handler Html
getEditProjectR project_handle = do
(_, Entity project_id project) <-
requireRolesAny [Admin] project_handle "You do not have permission to edit this project."
tags <- runDB $
select $
from $ \(p_t `InnerJoin` tag) -> do
on_ (p_t ^. Projec... | 846 | getEditProjectR project_handle = do
(_, Entity project_id project) <-
requireRolesAny [Admin] project_handle "You do not have permission to edit this project."
tags <- runDB $
select $
from $ \(p_t `InnerJoin` tag) -> do
on_ (p_t ^. ProjectTagTag ==. tag ^. TagId)
where_... | 806 | false | true | 0 | 16 | 183 | 204 | 101 | 103 | null | null |
brendanhay/gogol | gogol-shopping-content/gen/Network/Google/Resource/Content/Regions/Patch.hs | mpl-2.0 | -- | OAuth access token.
rpAccessToken :: Lens' RegionsPatch (Maybe Text)
rpAccessToken
= lens _rpAccessToken
(\ s a -> s{_rpAccessToken = a}) | 150 | rpAccessToken :: Lens' RegionsPatch (Maybe Text)
rpAccessToken
= lens _rpAccessToken
(\ s a -> s{_rpAccessToken = a}) | 125 | rpAccessToken
= lens _rpAccessToken
(\ s a -> s{_rpAccessToken = a}) | 76 | true | true | 1 | 9 | 29 | 52 | 25 | 27 | null | null |
MarcusVoelker/LParse | src/Text/LParse/Metaparser.hs | mit | rulesetParser :: M.Map String (Parser r' String AST) -> Parser r [Token] (M.Map String (Parser r' String AST))
rulesetParser m = M.fromList<$> sepMany (consumeSingle Sep) (ruleParser m) | 185 | rulesetParser :: M.Map String (Parser r' String AST) -> Parser r [Token] (M.Map String (Parser r' String AST))
rulesetParser m = M.fromList<$> sepMany (consumeSingle Sep) (ruleParser m) | 185 | rulesetParser m = M.fromList<$> sepMany (consumeSingle Sep) (ruleParser m) | 74 | false | true | 0 | 11 | 26 | 92 | 44 | 48 | null | null |
alexbiehl/hoop | hadoop-protos/src/Hadoop/Protos/DatanodeProtocolProtos/BlockIdCommandProto/Action.hs | mit | toMaybe'Enum _ = Prelude'.Nothing | 33 | toMaybe'Enum _ = Prelude'.Nothing | 33 | toMaybe'Enum _ = Prelude'.Nothing | 33 | false | false | 0 | 5 | 3 | 12 | 5 | 7 | null | null |
NightRa/FurnitureAI | src/Model.hs | mit | showMat f sep grid = unlines (mkString f sep <$> grid) | 54 | showMat f sep grid = unlines (mkString f sep <$> grid) | 54 | showMat f sep grid = unlines (mkString f sep <$> grid) | 54 | false | false | 0 | 8 | 10 | 28 | 13 | 15 | null | null |
glguy/irc-core | src/Client/View/IgnoreList.hs | isc | -- | Render a summary describing the number of ignore masks.
summaryLine ::
HashSet Identifier {- ^ ignore masks -} ->
Palette {- ^ palette -} ->
Image'
summaryLine ignores pal
| null ignores = text' (view palError pal) "Ignore list empty"
| otherwise = text' (view palLabel pal) "Ignore ent... | 385 | summaryLine ::
HashSet Identifier {- ^ ignore masks -} ->
Palette {- ^ palette -} ->
Image'
summaryLine ignores pal
| null ignores = text' (view palError pal) "Ignore list empty"
| otherwise = text' (view palLabel pal) "Ignore entries: "
<> string defAttr (show (length ignor... | 324 | summaryLine ignores pal
| null ignores = text' (view palError pal) "Ignore list empty"
| otherwise = text' (view palLabel pal) "Ignore entries: "
<> string defAttr (show (length ignores)) | 210 | true | true | 1 | 10 | 102 | 93 | 45 | 48 | null | null |
MoixaEnergy/blaze-react | src/Text/Blaze/Event/Keycode.hs | mit | ab = Keycode 9
| 30 | tab = Keycode 9 | 30 | tab = Keycode 9 | 30 | false | false | 1 | 4 | 19 | 12 | 4 | 8 | null | null |
carabolic/IMDBhs | app/Main.hs | bsd-3-clause | handleMovies :: (Int, MoviesList) -> IO ()
handleMovies (_, Error t) = IO.hPutStrLn stderr t | 92 | handleMovies :: (Int, MoviesList) -> IO ()
handleMovies (_, Error t) = IO.hPutStrLn stderr t | 92 | handleMovies (_, Error t) = IO.hPutStrLn stderr t | 49 | false | true | 0 | 7 | 14 | 45 | 23 | 22 | null | null |
HJvT/hdirect | src/Parser.hs | bsd-3-clause | action_419 (41#) = happyGoto action_271 | 39 | action_419 (41#) = happyGoto action_271 | 39 | action_419 (41#) = happyGoto action_271 | 39 | false | false | 0 | 6 | 4 | 15 | 7 | 8 | null | null |
jmitchell/Idris-dev | src/Idris/Core/TT.hs | bsd-3-clause | fmapMB f (PVTy t) = liftM PVTy (f t) | 39 | fmapMB f (PVTy t) = liftM PVTy (f t) | 39 | fmapMB f (PVTy t) = liftM PVTy (f t) | 39 | false | false | 0 | 7 | 11 | 30 | 13 | 17 | null | null |
codders/gp3 | src/BPackReader.hs | gpl-3.0 | -- In an uncompressed gliph stream, the bitplanes are interleaved pairs of bytes
readGliphStream :: L.ByteString -> Maybe [Gliph]
readGliphStream stream = blocksForBitplanes (pairs 0 sEights) (pairs 1 sEights) (pairs 2 sEights) (pairs 3 sEights)
where sEights = eights stream
... | 811 | readGliphStream :: L.ByteString -> Maybe [Gliph]
readGliphStream stream = blocksForBitplanes (pairs 0 sEights) (pairs 1 sEights) (pairs 2 sEights) (pairs 3 sEights)
where sEights = eights stream
eights astream | L.length astream > 8 = let (head, tail) = L.splitAt ... | 730 | readGliphStream stream = blocksForBitplanes (pairs 0 sEights) (pairs 1 sEights) (pairs 2 sEights) (pairs 3 sEights)
where sEights = eights stream
eights astream | L.length astream > 8 = let (head, tail) = L.splitAt 8 astream
... | 681 | true | true | 0 | 14 | 344 | 239 | 118 | 121 | null | null |
dosenfrucht/mcasm | src/Transform.hs | gpl-2.0 | readLabels start (Error _ : xs) = readLabels start xs | 64 | readLabels start (Error _ : xs) = readLabels start xs | 64 | readLabels start (Error _ : xs) = readLabels start xs | 64 | false | false | 0 | 7 | 20 | 28 | 12 | 16 | null | null |
schell/hdevtools | src/Main.hs | mit | doModuleFile :: FilePath -> HDevTools -> CommandExtra -> IO ()
doModuleFile sock args extra =
serverCommand sock (CmdModuleFile (module_ args)) extra | 153 | doModuleFile :: FilePath -> HDevTools -> CommandExtra -> IO ()
doModuleFile sock args extra =
serverCommand sock (CmdModuleFile (module_ args)) extra | 153 | doModuleFile sock args extra =
serverCommand sock (CmdModuleFile (module_ args)) extra | 90 | false | true | 0 | 9 | 24 | 58 | 27 | 31 | null | null |
bbangert/push-tester | tests/PushTests.hs | mpl-2.0 | prop_prior_regged :: ValidUaid -> ValidChannelID -> Property
prop_prior_regged (ValidUaid hex) (ValidChannelID jid@(Just cid)) =
resultsIn [
(Hello hex (Just [cid]), HelloSuccess hex (Just [cid]))
, (Register jid, RegisterSuccess jid)
, (SendNotification Nothing Nothing, Notifica... | 395 | prop_prior_regged :: ValidUaid -> ValidChannelID -> Property
prop_prior_regged (ValidUaid hex) (ValidChannelID jid@(Just cid)) =
resultsIn [
(Hello hex (Just [cid]), HelloSuccess hex (Just [cid]))
, (Register jid, RegisterSuccess jid)
, (SendNotification Nothing Nothing, Notifica... | 395 | prop_prior_regged (ValidUaid hex) (ValidChannelID jid@(Just cid)) =
resultsIn [
(Hello hex (Just [cid]), HelloSuccess hex (Just [cid]))
, (Register jid, RegisterSuccess jid)
, (SendNotification Nothing Nothing, NotificationUpdate 1)
, (UnRegister jid, UnRegist... | 334 | false | true | 1 | 10 | 101 | 137 | 69 | 68 | null | null |
peterspackman/hsqc | src/Integrals.hs | gpl-3.0 | normFactor :: Gaussian -> Double
normFactor Gaussian {α = α, momenta = (l, m, n) } =
((fromIntegral (f1 * f2 * f3)) * ((pi / (2.0 * α)) ** 1.5)
/ (fromIntegral (2^(2*lmn)) * α^lmn)) ** (-0.5)
where
f = factorial
lmn = l + m + n
f1 = f (2*l - 1)
f2 = f (2*m - 1)
f3 = f (2*n - 1) | 316 | normFactor :: Gaussian -> Double
normFactor Gaussian {α = α, momenta = (l, m, n) } =
((fromIntegral (f1 * f2 * f3)) * ((pi / (2.0 * α)) ** 1.5)
/ (fromIntegral (2^(2*lmn)) * α^lmn)) ** (-0.5)
where
f = factorial
lmn = l + m + n
f1 = f (2*l - 1)
f2 = f (2*m - 1)
f3 = f (2*n - 1) | 316 | normFactor Gaussian {α = α, momenta = (l, m, n) } =
((fromIntegral (f1 * f2 * f3)) * ((pi / (2.0 * α)) ** 1.5)
/ (fromIntegral (2^(2*lmn)) * α^lmn)) ** (-0.5)
where
f = factorial
lmn = l + m + n
f1 = f (2*l - 1)
f2 = f (2*m - 1)
f3 = f (2*n - 1) | 283 | false | true | 0 | 15 | 104 | 206 | 112 | 94 | null | null |
gchrupala/morfette | src/GramLab/Data/Diff/EditTree.hs | bsd-2-clause | check (Replace s s') w = s == w | 37 | check (Replace s s') w = s == w | 37 | check (Replace s s') w = s == w | 37 | false | false | 0 | 7 | 14 | 23 | 11 | 12 | null | null |
unisonweb/platform | parser-typechecker/src/Unison/Util/Free.hs | mit | foldWithIndex :: forall f m a . Monad m => (forall x. Int -> f x -> m x) -> Free f a -> m a
foldWithIndex f m = go 0 f m
where go :: Int -> (forall x. Int -> f x -> m x) -> Free f a -> m a
go starting f m = case m of
Pure a -> pure a
Bind x k -> (f start... | 356 | foldWithIndex :: forall f m a . Monad m => (forall x. Int -> f x -> m x) -> Free f a -> m a
foldWithIndex f m = go 0 f m
where go :: Int -> (forall x. Int -> f x -> m x) -> Free f a -> m a
go starting f m = case m of
Pure a -> pure a
Bind x k -> (f start... | 356 | foldWithIndex f m = go 0 f m
where go :: Int -> (forall x. Int -> f x -> m x) -> Free f a -> m a
go starting f m = case m of
Pure a -> pure a
Bind x k -> (f starting x) >>= (go $ starting + 1) f . k | 264 | false | true | 0 | 13 | 149 | 205 | 96 | 109 | null | null |
oldmanmike/ghc | compiler/prelude/PrelNames.hs | bsd-3-clause | coercionTokenIdKey :: Unique
coercionTokenIdKey = mkPreludeMiscIdUnique 124 | 78 | coercionTokenIdKey :: Unique
coercionTokenIdKey = mkPreludeMiscIdUnique 124 | 78 | coercionTokenIdKey = mkPreludeMiscIdUnique 124 | 49 | false | true | 0 | 5 | 9 | 14 | 7 | 7 | null | null |
brendanhay/gogol | gogol-apps-reseller/gen/Network/Google/Resource/Reseller/Subscriptions/List.hs | mpl-2.0 | -- | The \`customerAuthToken\` query string is required when creating a
-- resold account that transfers a direct customer\'s subscription or
-- transfers another reseller customer\'s subscription to your reseller
-- management. This is a hexadecimal authentication token needed to
-- complete the subscription transfer.... | 535 | slCustomerAuthToken :: Lens' SubscriptionsList (Maybe Text)
slCustomerAuthToken
= lens _slCustomerAuthToken
(\ s a -> s{_slCustomerAuthToken = a}) | 154 | slCustomerAuthToken
= lens _slCustomerAuthToken
(\ s a -> s{_slCustomerAuthToken = a}) | 94 | true | true | 0 | 9 | 78 | 53 | 30 | 23 | null | null |
sdiehl/ghc | testsuite/tests/gadt/T14808.hs | bsd-3-clause | f2 :: [()] -> ECC2 [] () ()
f2 = ECC2 @() @[] @() | 49 | f2 :: [()] -> ECC2 [] () ()
f2 = ECC2 @() @[] @() | 49 | f2 = ECC2 @() @[] @() | 21 | false | true | 0 | 8 | 13 | 60 | 27 | 33 | null | null |
cbarrett/bracer | Language/Bracer/Backends/C/Parser/Types.hs | mit | parseFunctionAppendix :: CParser (Endo TypeT)
parseFunctionAppendix = do
funcs <- parens (parseParameter `sepBy` comma)
return (Endo $ \x -> C.iFunction Anonymous x funcs)
-- | Parses an array modifier with an optional length. | 241 | parseFunctionAppendix :: CParser (Endo TypeT)
parseFunctionAppendix = do
funcs <- parens (parseParameter `sepBy` comma)
return (Endo $ \x -> C.iFunction Anonymous x funcs)
-- | Parses an array modifier with an optional length. | 239 | parseFunctionAppendix = do
funcs <- parens (parseParameter `sepBy` comma)
return (Endo $ \x -> C.iFunction Anonymous x funcs)
-- | Parses an array modifier with an optional length. | 193 | false | true | 0 | 12 | 47 | 67 | 34 | 33 | null | null |
corajr/adventofcode2015 | 1/floor2.hs | mit | whichFloor (x:xs) n i =
let increment = case x of
'(' -> 1
')' -> -1
_ -> 0
in whichFloor xs (n + increment) (i + 1) | 144 | whichFloor (x:xs) n i =
let increment = case x of
'(' -> 1
')' -> -1
_ -> 0
in whichFloor xs (n + increment) (i + 1) | 144 | whichFloor (x:xs) n i =
let increment = case x of
'(' -> 1
')' -> -1
_ -> 0
in whichFloor xs (n + increment) (i + 1) | 144 | false | false | 0 | 12 | 56 | 76 | 38 | 38 | null | null |
pepeiborra/narradar | src/Narradar/Processor/Aprove.hs | bsd-3-clause | funAppP = tokenP $ tagP "<fun-app>" $ do
skipMany tagText
symb_tag <- tokenP (tag "<symbol>" <* tag "</symbol>")
tt <- many termP
skipMany tagText
let symb = fromAttrib "name" symb_tag
return (term symb tt)
-- Only works for Narradar, assum... | 357 | funAppP = tokenP $ tagP "<fun-app>" $ do
skipMany tagText
symb_tag <- tokenP (tag "<symbol>" <* tag "</symbol>")
tt <- many termP
skipMany tagText
let symb = fromAttrib "name" symb_tag
return (term symb tt)
-- Only works for Narradar, assum... | 357 | funAppP = tokenP $ tagP "<fun-app>" $ do
skipMany tagText
symb_tag <- tokenP (tag "<symbol>" <* tag "</symbol>")
tt <- many termP
skipMany tagText
let symb = fromAttrib "name" symb_tag
return (term symb tt)
-- Only works for Narradar, assum... | 357 | false | false | 0 | 12 | 126 | 91 | 39 | 52 | null | null |
NotBrianZach/postgrest | src/PostgREST/QueryBuilder.hs | mit | pgFmtAs _ (Just alias) = " AS " <> pgFmtIdent alias | 51 | pgFmtAs _ (Just alias) = " AS " <> pgFmtIdent alias | 51 | pgFmtAs _ (Just alias) = " AS " <> pgFmtIdent alias | 51 | false | false | 0 | 7 | 10 | 24 | 11 | 13 | null | null |
fmapfmapfmap/amazonka | amazonka-ec2/gen/Network/AWS/EC2/DescribeVPCEndpoints.hs | mpl-2.0 | -- | One or more filters.
--
-- - 'service-name': The name of the AWS service.
--
-- - 'vpc-id': The ID of the VPC in which the endpoint resides.
--
-- - 'vpc-endpoint-id': The ID of the endpoint.
--
-- - 'vpc-endpoint-state': The state of the endpoint. ('pending' |
-- 'available' | 'deleting' | 'deleted')
... | 461 | dvpceFilters :: Lens' DescribeVPCEndpoints [Filter]
dvpceFilters = lens _dvpceFilters (\ s a -> s{_dvpceFilters = a}) . _Default . _Coerce | 138 | dvpceFilters = lens _dvpceFilters (\ s a -> s{_dvpceFilters = a}) . _Default . _Coerce | 86 | true | true | 0 | 11 | 88 | 61 | 38 | 23 | null | null |
kelnage/tamarin-prover | lib/theory/src/Theory/Constraint/Solver/Goals.hs | gpl-3.0 | solveAction :: [RuleAC] -- ^ All rules labelled with an action
-> (NodeId, LNFact) -- ^ The action we are looking for.
-> Reduction String -- ^ A sensible case name.
solveAction rules (i, fa) = do
mayRu <- M.lookup i <$> getM sNodes
showRuleCaseName <$> case mayRu of
N... | 987 | solveAction :: [RuleAC] -- ^ All rules labelled with an action
-> (NodeId, LNFact) -- ^ The action we are looking for.
-> Reduction String
solveAction rules (i, fa) = do
mayRu <- M.lookup i <$> getM sNodes
showRuleCaseName <$> case mayRu of
Nothing -> do ru <- labelNod... | 959 | solveAction rules (i, fa) = do
mayRu <- M.lookup i <$> getM sNodes
showRuleCaseName <$> case mayRu of
Nothing -> do ru <- labelNodeId i rules Nothing
act <- disjunctionOfList $ get rActs ru
void (solveFactEqs SplitNow [Equal fa act])
ret... | 786 | true | true | 0 | 22 | 342 | 228 | 109 | 119 | null | null |
jwiegley/ghc-release | libraries/process/System/Process/Internals.hs | gpl-3.0 | fd_stdin, fd_stdout, fd_stderr :: FD
fd_stdin = 0 | 50 | fd_stdin, fd_stdout, fd_stderr :: FD
fd_stdin = 0 | 50 | fd_stdin = 0 | 13 | false | true | 4 | 6 | 8 | 27 | 10 | 17 | null | null |
GaloisInc/halvm-ghc | compiler/basicTypes/BasicTypes.hs | bsd-3-clause | minPrecedence = 0 | 17 | minPrecedence = 0 | 17 | minPrecedence = 0 | 17 | false | false | 1 | 5 | 2 | 10 | 3 | 7 | null | null |
trskop/install-paths | src/System/Environment/InstallPaths.hs | bsd-3-clause | -- {{{ Get Directories File Path ----------------------------------------------
-- | Get file path of specified directory based on provided 'Parameters'.
--
-- Same as 'getDir'', but with flipped arguments.
getDir :: Parameters -> Directory -> IO FilePath
getDir = flip getDir' | 278 | getDir :: Parameters -> Directory -> IO FilePath
getDir = flip getDir' | 70 | getDir = flip getDir' | 21 | true | true | 0 | 7 | 40 | 29 | 16 | 13 | null | null |
damoxc/ganeti | src/Ganeti/Config.hs | gpl-2.0 | -- | Returns the default cluster hypervisor.
getDefaultHypervisor :: ConfigData -> Hypervisor
getDefaultHypervisor cfg =
case clusterEnabledHypervisors $ configCluster cfg of
-- FIXME: this case shouldn't happen (configuration broken), but
-- for now we handle it here because we're not authoritative for
-... | 404 | getDefaultHypervisor :: ConfigData -> Hypervisor
getDefaultHypervisor cfg =
case clusterEnabledHypervisors $ configCluster cfg of
-- FIXME: this case shouldn't happen (configuration broken), but
-- for now we handle it here because we're not authoritative for
-- the config
[] -> XenPvm
x:_ -> x
... | 359 | getDefaultHypervisor cfg =
case clusterEnabledHypervisors $ configCluster cfg of
-- FIXME: this case shouldn't happen (configuration broken), but
-- for now we handle it here because we're not authoritative for
-- the config
[] -> XenPvm
x:_ -> x
-- | Returns instances of a given link. | 310 | true | true | 0 | 8 | 82 | 58 | 29 | 29 | null | null |
sjoerdvisscher/fmlist | Data/FMList.hs | bsd-3-clause | init :: FMList a -> FMList a
init l = case viewr l of
EmptyR -> error "Data.FMList.init: empty list"
l' :> _ -> l' | 133 | init :: FMList a -> FMList a
init l = case viewr l of
EmptyR -> error "Data.FMList.init: empty list"
l' :> _ -> l' | 133 | init l = case viewr l of
EmptyR -> error "Data.FMList.init: empty list"
l' :> _ -> l' | 96 | false | true | 2 | 6 | 43 | 48 | 22 | 26 | null | null |
luqui/collada | Graphics/Formats/Collada/Render.hs | bsd-3-clause | compileNodeObject :: O.ID -> CompileM (DrawM ())
compileNodeObject = cached go
where
go (O.ONode node) = compileNode node
go _ = fail "Not a node" | 158 | compileNodeObject :: O.ID -> CompileM (DrawM ())
compileNodeObject = cached go
where
go (O.ONode node) = compileNode node
go _ = fail "Not a node" | 158 | compileNodeObject = cached go
where
go (O.ONode node) = compileNode node
go _ = fail "Not a node" | 109 | false | true | 0 | 10 | 36 | 63 | 30 | 33 | null | null |
reiddraper/cauterize | src/Cauterize/Dynamic/Unpack.hs | bsd-3-clause | unpackTag C.BIu32 = liftM fromIntegral getWord32le | 50 | unpackTag C.BIu32 = liftM fromIntegral getWord32le | 50 | unpackTag C.BIu32 = liftM fromIntegral getWord32le | 50 | false | false | 0 | 6 | 5 | 16 | 7 | 9 | null | null |
ocramz/sparse-linear-algebra | test/LibSpec.hs | gpl-3.0 | spec :: Spec
spec = do
describe "Data.Sparse.Common" $ do
it "fromRowsL assembles a SpMatrix from a list of SpVector rows" $
fromRowsL [x42, y42] `shouldBe` m42
it "fromColsL assembles a SpMatrix from a list of SpVector columns" $
fromColsL [x42, y42] `shouldBe` transposeSM m42
describe "N... | 9,692 | spec :: Spec
spec = do
describe "Data.Sparse.Common" $ do
it "fromRowsL assembles a SpMatrix from a list of SpVector rows" $
fromRowsL [x42, y42] `shouldBe` m42
it "fromColsL assembles a SpMatrix from a list of SpVector columns" $
fromColsL [x42, y42] `shouldBe` transposeSM m42
describe "N... | 9,692 | spec = do
describe "Data.Sparse.Common" $ do
it "fromRowsL assembles a SpMatrix from a list of SpVector rows" $
fromRowsL [x42, y42] `shouldBe` m42
it "fromColsL assembles a SpMatrix from a list of SpVector columns" $
fromColsL [x42, y42] `shouldBe` transposeSM m42
describe "Numeric.Linear... | 9,679 | false | true | 0 | 18 | 2,597 | 1,226 | 694 | 532 | null | null |
Javran/xmonad-entryhelper | src/XMonad/Util/EntryHelper/File.hs | mit | getXMonadSrc = srcPath <$> getXMonadPaths | 41 | getXMonadSrc = srcPath <$> getXMonadPaths | 41 | getXMonadSrc = srcPath <$> getXMonadPaths | 41 | false | false | 3 | 5 | 4 | 15 | 5 | 10 | null | null |
yxm4109/pandoc | src/pandoc.hs | gpl-2.0 | -- | Association list of formats and writers.
writers :: [ ( String, WriterOptions -> Pandoc -> String ) ]
writers = [("native" , writeDoc)
,("html" , writeHtmlString)
,("html+lhs" , writeHtmlString)
,("s5" , writeS5String)
,("docbook" , writeDocb... | 930 | writers :: [ ( String, WriterOptions -> Pandoc -> String ) ]
writers = [("native" , writeDoc)
,("html" , writeHtmlString)
,("html+lhs" , writeHtmlString)
,("s5" , writeS5String)
,("docbook" , writeDocbook)
,("opendocument" , writeOpenDoc... | 884 | writers = [("native" , writeDoc)
,("html" , writeHtmlString)
,("html+lhs" , writeHtmlString)
,("s5" , writeS5String)
,("docbook" , writeDocbook)
,("opendocument" , writeOpenDocument)
,("odt" , writeOpenDocument)
... | 823 | true | true | 0 | 10 | 377 | 207 | 132 | 75 | null | null |
vdweegen/UvA-Software_Testing | Lab3/Final/Exercises.hs | gpl-3.0 | wiki3Input = doParse "*(1 *(+(2 3) +(2 5)))" | 44 | wiki3Input = doParse "*(1 *(+(2 3) +(2 5)))" | 44 | wiki3Input = doParse "*(1 *(+(2 3) +(2 5)))" | 44 | false | false | 1 | 5 | 7 | 12 | 4 | 8 | null | null |
Cahu/krpc-hs | src/KRPCHS/SpaceCenter.hs | gpl-3.0 | getWheelHasBrakesStream :: KRPCHS.SpaceCenter.Wheel -> RPCContext (KRPCStream (Bool))
getWheelHasBrakesStream thisArg = requestStream $ getWheelHasBrakesStreamReq thisArg | 170 | getWheelHasBrakesStream :: KRPCHS.SpaceCenter.Wheel -> RPCContext (KRPCStream (Bool))
getWheelHasBrakesStream thisArg = requestStream $ getWheelHasBrakesStreamReq thisArg | 170 | getWheelHasBrakesStream thisArg = requestStream $ getWheelHasBrakesStreamReq thisArg | 84 | false | true | 0 | 10 | 13 | 44 | 21 | 23 | null | null |
kenkov/nlp | haskell/learn/perceptron.hs | mit | perceptron :: Count -> LearningRate -> Dimension -> [Point] -> Parameter
perceptron count eta dim ps =
let r2 = findMaxR ps in
rep (perceptron_ eta r2 ps) (replicate dim 0, 0) [1..count] | 198 | perceptron :: Count -> LearningRate -> Dimension -> [Point] -> Parameter
perceptron count eta dim ps =
let r2 = findMaxR ps in
rep (perceptron_ eta r2 ps) (replicate dim 0, 0) [1..count] | 198 | perceptron count eta dim ps =
let r2 = findMaxR ps in
rep (perceptron_ eta r2 ps) (replicate dim 0, 0) [1..count] | 125 | false | true | 0 | 9 | 44 | 86 | 43 | 43 | null | null |
gibiansky/IHaskell | ihaskell-display/ihaskell-widgets/src/IHaskell/Display/Widgets/Int/BoundedInt/Play.hs | mit | -- | Create a new widget
mkPlay :: IO Play
mkPlay = do
-- Default properties, with a random uuid
wid <- U.random
layout <- mkLayout
dstyle <- mkDescriptionStyle
let boundedIntAttrs = defaultBoundedIntWidget "PlayView" "PlayModel" layout $ StyleWidget dstyle
playAttrs = (Playing =:: True)
... | 831 | mkPlay :: IO Play
mkPlay = do
-- Default properties, with a random uuid
wid <- U.random
layout <- mkLayout
dstyle <- mkDescriptionStyle
let boundedIntAttrs = defaultBoundedIntWidget "PlayView" "PlayModel" layout $ StyleWidget dstyle
playAttrs = (Playing =:: True)
:& (Repeat =:: True)
... | 806 | mkPlay = do
-- Default properties, with a random uuid
wid <- U.random
layout <- mkLayout
dstyle <- mkDescriptionStyle
let boundedIntAttrs = defaultBoundedIntWidget "PlayView" "PlayModel" layout $ StyleWidget dstyle
playAttrs = (Playing =:: True)
:& (Repeat =:: True)
... | 788 | true | true | 0 | 17 | 255 | 194 | 95 | 99 | null | null |
vincenthz/hs-foundation | foundation/Foundation/VFS/FilePath.hs | bsd-3-clause | hasNullByte :: [Char] -> Bool
hasNullByte = Data.List.elem '\0' | 63 | hasNullByte :: [Char] -> Bool
hasNullByte = Data.List.elem '\0' | 63 | hasNullByte = Data.List.elem '\0' | 33 | false | true | 0 | 6 | 8 | 24 | 13 | 11 | null | null |
allanderek/ipclib | Language/Pepa/Rates.hs | gpl-2.0 | reduceRateExprWith :: RateNumberClass a => (RateIdentifier -> a) -> RateExpr -> a
reduceRateExprWith _m (Creal d) = rnFromDouble d | 139 | reduceRateExprWith :: RateNumberClass a => (RateIdentifier -> a) -> RateExpr -> a
reduceRateExprWith _m (Creal d) = rnFromDouble d | 139 | reduceRateExprWith _m (Creal d) = rnFromDouble d | 57 | false | true | 0 | 8 | 27 | 47 | 23 | 24 | null | null |
charlesrosenbauer/Bzo-Compiler | src/ModelRules.hs | gpl-3.0 | validateType :: BzoSyntax -> [BzoErr]
validateType ty = verifyAST verifyType switchType ty | 90 | validateType :: BzoSyntax -> [BzoErr]
validateType ty = verifyAST verifyType switchType ty | 90 | validateType ty = verifyAST verifyType switchType ty | 52 | false | true | 0 | 6 | 11 | 28 | 14 | 14 | null | null |
brendanhay/gogol | gogol-logging/gen/Network/Google/Resource/Logging/Organizations/Locations/Get.hs | mpl-2.0 | -- | Resource name for the location.
olgName :: Lens' OrganizationsLocationsGet Text
olgName = lens _olgName (\ s a -> s{_olgName = a}) | 135 | olgName :: Lens' OrganizationsLocationsGet Text
olgName = lens _olgName (\ s a -> s{_olgName = a}) | 98 | olgName = lens _olgName (\ s a -> s{_olgName = a}) | 50 | true | true | 1 | 9 | 22 | 46 | 22 | 24 | null | null |
vladimir-ipatov/ganeti | src/Ganeti/Constants.hs | gpl-2.0 | htKvmSpiceLosslessImgComprGlz :: String
htKvmSpiceLosslessImgComprGlz = "glz" | 77 | htKvmSpiceLosslessImgComprGlz :: String
htKvmSpiceLosslessImgComprGlz = "glz" | 77 | htKvmSpiceLosslessImgComprGlz = "glz" | 37 | false | true | 0 | 6 | 5 | 18 | 7 | 11 | null | null |
tmcdonell/accelerate-lulesh | src/LULESH.hs | bsd-3-clause | -- | Calculate terms in the total strain rate tensor epsilon_tot that are used
-- to compute the terms in the deviatoric strain rate tensor epsilon.
--
calcKinematicsForElem
:: Exp Time
-> Exp (Hexahedron Position)
-> Exp (Hexahedron Velocity)
-> Exp Volume -- relative volume
-... | 1,671 | calcKinematicsForElem
:: Exp Time
-> Exp (Hexahedron Position)
-> Exp (Hexahedron Velocity)
-> Exp Volume -- relative volume
-> Exp Volume -- reference volume
-> Exp (Volume, Volume, R, R)
calcKinematicsForElem dt x dx v v0 =
let
-- (relative) ... | 1,519 | calcKinematicsForElem dt x dx v v0 =
let
-- (relative) volume calculations
vol' = calcElemVolume x
v' = vol' / v0
dv' = v' - v
-- characteristic length
arealg = calcElemCharacteristicLength x vol'
-- modify nodal positions to be halfway between time(n) ... | 1,262 | true | true | 0 | 13 | 641 | 478 | 253 | 225 | null | null |
romanb/amazonka | amazonka-autoscaling/gen/Network/AWS/AutoScaling/Types.hs | mpl-2.0 | -- | For Provisioned IOPS (SSD) volumes only. The number of I/O operations per
-- second (IOPS) to provision for the volume.
--
-- Valid values: Range is 100 to 4000.
--
-- Default: None
ebsIops :: Lens' Ebs (Maybe Natural)
ebsIops = lens _ebsIops (\s a -> s { _ebsIops = a }) . mapping _Nat | 291 | ebsIops :: Lens' Ebs (Maybe Natural)
ebsIops = lens _ebsIops (\s a -> s { _ebsIops = a }) . mapping _Nat | 104 | ebsIops = lens _ebsIops (\s a -> s { _ebsIops = a }) . mapping _Nat | 67 | true | true | 0 | 10 | 56 | 58 | 33 | 25 | null | null |
lubomir/dot-race | fay/GameScreen.hs | bsd-3-clause | drawCrash :: Element -> Point -> Fay Element
drawCrash drawing p = svgPolygon drawing (crashMark p) >>= setClass "crashPoint" | 125 | drawCrash :: Element -> Point -> Fay Element
drawCrash drawing p = svgPolygon drawing (crashMark p) >>= setClass "crashPoint" | 125 | drawCrash drawing p = svgPolygon drawing (crashMark p) >>= setClass "crashPoint" | 80 | false | true | 2 | 8 | 18 | 53 | 23 | 30 | null | null |
neosam/esge | src/Esge/Run.hs | bsd-3-clause | -- | Generates a modifier function for the ingame initializers
-- and will add the given attributes to a 'IngameLoader'
ingameLoader :: ([PCheck], [EP.BlockParser], [IngameMod])
-> IngameInit
ingameLoader (pChecks, parsers, mods) =
IngameInit pChecks parsers mods | 292 | ingameLoader :: ([PCheck], [EP.BlockParser], [IngameMod])
-> IngameInit
ingameLoader (pChecks, parsers, mods) =
IngameInit pChecks parsers mods | 172 | ingameLoader (pChecks, parsers, mods) =
IngameInit pChecks parsers mods | 87 | true | true | 0 | 8 | 64 | 56 | 33 | 23 | null | null |
yiannist/ganeti | src/Ganeti/HTools/Node.hs | bsd-2-clause | -- | Generate OpCode for setting a node's offline status
genOpSetOffline :: (Monad m) => Node -> Bool -> m OpCodes.OpCode
genOpSetOffline node offlineStatus = do
nodeName <- mkNonEmpty (name node)
return OpCodes.OpNodeSetParams
{ OpCodes.opNodeName = nodeName
, OpCodes.opNodeUuid = Nothing
... | 927 | genOpSetOffline :: (Monad m) => Node -> Bool -> m OpCodes.OpCode
genOpSetOffline node offlineStatus = do
nodeName <- mkNonEmpty (name node)
return OpCodes.OpNodeSetParams
{ OpCodes.opNodeName = nodeName
, OpCodes.opNodeUuid = Nothing
, OpCodes.opForce = False
, OpCodes.op... | 870 | genOpSetOffline node offlineStatus = do
nodeName <- mkNonEmpty (name node)
return OpCodes.OpNodeSetParams
{ OpCodes.opNodeName = nodeName
, OpCodes.opNodeUuid = Nothing
, OpCodes.opForce = False
, OpCodes.opHvState = Nothing
, OpCodes.opDiskState = Nothing
... | 805 | true | true | 0 | 10 | 272 | 181 | 103 | 78 | null | null |
vTurbine/ghc | compiler/utils/Util.hs | bsd-3-clause | cmpList _ [] _ = LT | 26 | cmpList _ [] _ = LT | 26 | cmpList _ [] _ = LT | 26 | false | false | 2 | 6 | 12 | 19 | 7 | 12 | null | null |
jhance/gba-hs | test/Test/GBA/Thumb/T4.hs | mit | t4sbc5b :: TestTree
t4sbc5b = testCase "[t4sbc5b] V flag, set to 1" $ do
v <- runTest $ do
writeSafeRegister 0 1
writeSafeRegister 1 0x80000001
writeStatus statusC False
execute $ T4 T4_SBC 0 1
readStatus statusV
v @?= True | 271 | t4sbc5b :: TestTree
t4sbc5b = testCase "[t4sbc5b] V flag, set to 1" $ do
v <- runTest $ do
writeSafeRegister 0 1
writeSafeRegister 1 0x80000001
writeStatus statusC False
execute $ T4 T4_SBC 0 1
readStatus statusV
v @?= True | 271 | t4sbc5b = testCase "[t4sbc5b] V flag, set to 1" $ do
v <- runTest $ do
writeSafeRegister 0 1
writeSafeRegister 1 0x80000001
writeStatus statusC False
execute $ T4 T4_SBC 0 1
readStatus statusV
v @?= True | 251 | false | true | 0 | 13 | 86 | 87 | 35 | 52 | null | null |
tonyday567/hdcharts | src/Chart/Types.hs | mit | d3SelClass' :: Element a -> String -> [D3Expr]
d3SelClass' e s = toD3Expr [jmacroE|selectAll(`("."<>e^.eClass<> " "<>s)`)|] | 123 | d3SelClass' :: Element a -> String -> [D3Expr]
d3SelClass' e s = toD3Expr [jmacroE|selectAll(`("."<>e^.eClass<> " "<>s)`)|] | 123 | d3SelClass' e s = toD3Expr [jmacroE|selectAll(`("."<>e^.eClass<> " "<>s)`)|] | 76 | false | true | 0 | 7 | 15 | 37 | 20 | 17 | null | null |
Mikolaj/miniutter | NLP/Miniutter/English.hs | bsd-3-clause | notPersonVerb Sg3rd "be" = "isn't" | 34 | notPersonVerb Sg3rd "be" = "isn't" | 34 | notPersonVerb Sg3rd "be" = "isn't" | 34 | false | false | 1 | 5 | 4 | 16 | 5 | 11 | null | null |
olsner/ghc | compiler/nativeGen/RegAlloc/Linear/Main.hs | bsd-3-clause | -- it doesn't matter what order the fixup blocks are returned in.
linearRA block_live accInstr accFixups id (instr:instrs)
= do
(accInstr', new_fixups) <- raInsn block_live accInstr id instr
linearRA block_live accInstr' (new_fixups ++ accFixups) id instrs
-- | Do allocation for a single instructi... | 323 | linearRA block_live accInstr accFixups id (instr:instrs)
= do
(accInstr', new_fixups) <- raInsn block_live accInstr id instr
linearRA block_live accInstr' (new_fixups ++ accFixups) id instrs
-- | Do allocation for a single instruction. | 255 | linearRA block_live accInstr accFixups id (instr:instrs)
= do
(accInstr', new_fixups) <- raInsn block_live accInstr id instr
linearRA block_live accInstr' (new_fixups ++ accFixups) id instrs
-- | Do allocation for a single instruction. | 255 | true | false | 0 | 9 | 65 | 69 | 35 | 34 | null | null |
mcmaniac/ghc | compiler/vectorise/Vectorise/Generic/Description.hs | bsd-3-clause | -------------------------------------------------------------------------------
-- |Determine the generic representation of a data type, given its tycon.
--
tyConRepr :: TyCon -> VM SumRepr
tyConRepr tc
= sum_repr (tyConDataCons tc)
where
-- Build the representation type for a data type with the given constru... | 3,052 | tyConRepr :: TyCon -> VM SumRepr
tyConRepr tc
= sum_repr (tyConDataCons tc)
where
-- Build the representation type for a data type with the given constructors.
-- The representation types for each individual constructor are bundled
-- together into a generic sum type.
sum_repr :: [DataCon] -> VM Su... | 2,894 | tyConRepr tc
= sum_repr (tyConDataCons tc)
where
-- Build the representation type for a data type with the given constructors.
-- The representation types for each individual constructor are bundled
-- together into a generic sum type.
sum_repr :: [DataCon] -> VM SumRepr
sum_repr [] = return... | 2,861 | true | true | 4 | 10 | 1,157 | 554 | 270 | 284 | null | null |
fugyk/cabal | Cabal/Distribution/Simple/Setup.hs | bsd-3-clause | defaultCleanFlags :: CleanFlags
defaultCleanFlags = CleanFlags {
cleanSaveConf = Flag False,
cleanDistPref = NoFlag,
cleanVerbosity = Flag normal
} | 164 | defaultCleanFlags :: CleanFlags
defaultCleanFlags = CleanFlags {
cleanSaveConf = Flag False,
cleanDistPref = NoFlag,
cleanVerbosity = Flag normal
} | 164 | defaultCleanFlags = CleanFlags {
cleanSaveConf = Flag False,
cleanDistPref = NoFlag,
cleanVerbosity = Flag normal
} | 132 | false | true | 0 | 7 | 35 | 37 | 21 | 16 | null | null |
urbanslug/ghc | compiler/basicTypes/Name.hs | bsd-3-clause | stableNameCmp :: Name -> Name -> Ordering
-- Compare lexicographically
stableNameCmp (Name { n_sort = s1, n_occ = occ1 })
(Name { n_sort = s2, n_occ = occ2 })
= (s1 `sort_cmp` s2) `thenCmp` (occ1 `compare` occ2)
-- The ordinary compare on OccNames is lexicographic
where
-- Later constructors a... | 1,293 | stableNameCmp :: Name -> Name -> Ordering
stableNameCmp (Name { n_sort = s1, n_occ = occ1 })
(Name { n_sort = s2, n_occ = occ2 })
= (s1 `sort_cmp` s2) `thenCmp` (occ1 `compare` occ2)
-- The ordinary compare on OccNames is lexicographic
where
-- Later constructors are bigger
sort_cmp (Exter... | 1,264 | stableNameCmp (Name { n_sort = s1, n_occ = occ1 })
(Name { n_sort = s2, n_occ = occ2 })
= (s1 `sort_cmp` s2) `thenCmp` (occ1 `compare` occ2)
-- The ordinary compare on OccNames is lexicographic
where
-- Later constructors are bigger
sort_cmp (External m1) (External m2) = m1 `stableMo... | 1,222 | true | true | 8 | 8 | 494 | 321 | 161 | 160 | null | null |
brendanhay/gogol | gogol-youtube/gen/Network/Google/YouTube/Types.hs | mpl-2.0 | -- | View private information of your YouTube channel relevant during the
-- audit process with a YouTube partner
youTubePartnerChannelAuditScope :: Proxy '["https://www.googleapis.com/auth/youtubepartner-channel-audit"]
youTubePartnerChannelAuditScope = Proxy | 260 | youTubePartnerChannelAuditScope :: Proxy '["https://www.googleapis.com/auth/youtubepartner-channel-audit"]
youTubePartnerChannelAuditScope = Proxy | 146 | youTubePartnerChannelAuditScope = Proxy | 39 | true | true | 0 | 7 | 25 | 21 | 12 | 9 | null | null |
enolan/emp-pl-site | Settings.hs | agpl-3.0 | combineStylesheets :: Name -> [Route Static] -> Q Exp
combineStylesheets = combineStylesheets'
(appSkipCombining compileTimeAppSettings)
combineSettings | 160 | combineStylesheets :: Name -> [Route Static] -> Q Exp
combineStylesheets = combineStylesheets'
(appSkipCombining compileTimeAppSettings)
combineSettings | 160 | combineStylesheets = combineStylesheets'
(appSkipCombining compileTimeAppSettings)
combineSettings | 106 | false | true | 0 | 8 | 22 | 40 | 19 | 21 | null | null |
tpsinnem/Idris-dev | src/Idris/Imports.hs | bsd-3-clause | findImport :: [FilePath] -> FilePath -> FilePath -> Idris IFileType
findImport [] ibcsd fp = ierror . Msg $ "Can't find import " ++ fp | 138 | findImport :: [FilePath] -> FilePath -> FilePath -> Idris IFileType
findImport [] ibcsd fp = ierror . Msg $ "Can't find import " ++ fp | 138 | findImport [] ibcsd fp = ierror . Msg $ "Can't find import " ++ fp | 70 | false | true | 0 | 10 | 28 | 55 | 26 | 29 | null | null |
chwarr/bond | compiler/src/Language/Bond/Codegen/Java/Class_java.hs | mit | -- given a struct name and type parameters, and type, returns a type descriptor expression for the field, used in initialization of struct field descriptors
structFieldDescriptorInitStructExpr :: MappingContext -> Type -> String -> [Type] -> Text
structFieldDescriptorInitStructExpr java fieldType typeName params = [lt|... | 796 | structFieldDescriptorInitStructExpr :: MappingContext -> Type -> String -> [Type] -> Text
structFieldDescriptorInitStructExpr java fieldType typeName params = [lt|#{typeCastExpr} getStructType(#{typeName}.class#{paramExprList params})|]
where
typeCastExpr = [lt|(org.bondlib.StructBondType<#{(getTypeName jav... | 639 | structFieldDescriptorInitStructExpr java fieldType typeName params = [lt|#{typeCastExpr} getStructType(#{typeName}.class#{paramExprList params})|]
where
typeCastExpr = [lt|(org.bondlib.StructBondType<#{(getTypeName java) fieldType}>)|]
paramExprList :: [Type] -> Text
paramExprList [] = mempt... | 549 | true | true | 0 | 9 | 124 | 98 | 58 | 40 | null | null |
imuli/gitit | Network/Gitit/Types.hs | gpl-2.0 | sessionData :: String -> SessionData
sessionData user = SessionData (Just user) Nothing | 87 | sessionData :: String -> SessionData
sessionData user = SessionData (Just user) Nothing | 87 | sessionData user = SessionData (Just user) Nothing | 50 | false | true | 0 | 7 | 11 | 29 | 14 | 15 | null | null |
brendanhay/gogol | gogol-vision/gen/Network/Google/Vision/Types/Product.hs | mpl-2.0 | -- | Creates a value of 'GoogleCloudVisionV1p1beta1SafeSearchAnnotation' with the minimum fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
-- * 'gooSpoof'
--
-- * 'gooRacy'
--
-- * 'gooAdult'
--
-- * 'gooMedical'
--
-- * 'gooViolence'
googleCloudVisionV1p1be... | 636 | googleCloudVisionV1p1beta1SafeSearchAnnotation
:: GoogleCloudVisionV1p1beta1SafeSearchAnnotation
googleCloudVisionV1p1beta1SafeSearchAnnotation =
GoogleCloudVisionV1p1beta1SafeSearchAnnotation'
{ _gooSpoof = Nothing
, _gooRacy = Nothing
, _gooAdult = Nothing
, _gooMedical = Nothing
, _gooViole... | 339 | googleCloudVisionV1p1beta1SafeSearchAnnotation =
GoogleCloudVisionV1p1beta1SafeSearchAnnotation'
{ _gooSpoof = Nothing
, _gooRacy = Nothing
, _gooAdult = Nothing
, _gooMedical = Nothing
, _gooViolence = Nothing
} | 238 | true | true | 1 | 7 | 106 | 63 | 41 | 22 | null | null |
NickAger/LearningHaskell | haskellForMacMiscPlayground/realworldhaskellch04.hsproj/realworldhaskellch04.hs | mit | noAsPattern :: [a] -> [[a]]
noAsPattern (x:xs) = (x:xs) : noAsPattern xs | 72 | noAsPattern :: [a] -> [[a]]
noAsPattern (x:xs) = (x:xs) : noAsPattern xs | 72 | noAsPattern (x:xs) = (x:xs) : noAsPattern xs | 44 | false | true | 0 | 9 | 11 | 53 | 27 | 26 | null | null |
fmapfmapfmap/amazonka | amazonka-efs/gen/Network/AWS/EFS/Types.hs | mpl-2.0 | _MountTargetNotFound :: AsError a => Getting (First ServiceError) a ServiceError
_MountTargetNotFound =
_ServiceError . hasStatus 404 . hasCode "MountTargetNotFound" | 169 | _MountTargetNotFound :: AsError a => Getting (First ServiceError) a ServiceError
_MountTargetNotFound =
_ServiceError . hasStatus 404 . hasCode "MountTargetNotFound" | 169 | _MountTargetNotFound =
_ServiceError . hasStatus 404 . hasCode "MountTargetNotFound" | 88 | false | true | 2 | 9 | 22 | 53 | 22 | 31 | null | null |
yangsiwei880813/CS644 | src/Lexical.hs | gpl-2.0 | tokenBuilder ("NULL", l) = Just (Token NullLit l) | 49 | tokenBuilder ("NULL", l) = Just (Token NullLit l) | 49 | tokenBuilder ("NULL", l) = Just (Token NullLit l) | 49 | false | false | 0 | 7 | 7 | 27 | 13 | 14 | null | null |
acowley/ghc | utils/genprimopcode/Main.hs | bsd-3-clause | ppType (TyApp (TyCon "Word32#") []) = "word32PrimTy" | 56 | ppType (TyApp (TyCon "Word32#") []) = "word32PrimTy" | 56 | ppType (TyApp (TyCon "Word32#") []) = "word32PrimTy" | 56 | false | false | 0 | 8 | 10 | 26 | 12 | 14 | null | null |
siddhanathan/ghc | testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldsfail12.hs | bsd-3-clause | -- Use of foo and bar should give deprecation warnings
f :: T -> T
f e = e { foo = 3, bar = 3 } | 95 | f :: T -> T
f e = e { foo = 3, bar = 3 } | 40 | f e = e { foo = 3, bar = 3 } | 28 | true | true | 0 | 7 | 26 | 37 | 20 | 17 | null | null |
nushio3/ghc | compiler/basicTypes/PatSyn.hs | bsd-3-clause | patSynType :: PatSyn -> Type
-- The full pattern type, used only in error messages
-- See Note [Patten synonym signatures]
patSynType (MkPatSyn { psUnivTyVars = univ_tvs, psReqTheta = req_theta
, psExTyVars = ex_tvs, psProvTheta = prov_theta
, psArgs = orig_args, psOrigResT... | 502 | patSynType :: PatSyn -> Type
patSynType (MkPatSyn { psUnivTyVars = univ_tvs, psReqTheta = req_theta
, psExTyVars = ex_tvs, psProvTheta = prov_theta
, psArgs = orig_args, psOrigResTy = orig_res_ty })
= mkSpecSigmaTy univ_tvs req_theta $ -- use mkSpecSigmaTy because it
... | 408 | patSynType (MkPatSyn { psUnivTyVars = univ_tvs, psReqTheta = req_theta
, psExTyVars = ex_tvs, psProvTheta = prov_theta
, psArgs = orig_args, psOrigResTy = orig_res_ty })
= mkSpecSigmaTy univ_tvs req_theta $ -- use mkSpecSigmaTy because it
mkSpecSigmaTy ex_tvs prov_th... | 379 | true | true | 0 | 9 | 123 | 87 | 50 | 37 | null | null |
karamellpelle/MEnv | source/GUI/Widget/MinWidget.hs | bsd-2-clause | minShape :: GUIData -> GUIState -> MinWidget a -> GUIShape
minShape gd gs min =
let GUIShape wth hth = minMinShape min
GUIShape wth' hth' = widgetShape gd gs $ minChild min
in GUIShape (Prelude.min wth wth') (Prelude.min hth hth') | 248 | minShape :: GUIData -> GUIState -> MinWidget a -> GUIShape
minShape gd gs min =
let GUIShape wth hth = minMinShape min
GUIShape wth' hth' = widgetShape gd gs $ minChild min
in GUIShape (Prelude.min wth wth') (Prelude.min hth hth') | 248 | minShape gd gs min =
let GUIShape wth hth = minMinShape min
GUIShape wth' hth' = widgetShape gd gs $ minChild min
in GUIShape (Prelude.min wth wth') (Prelude.min hth hth') | 189 | false | true | 0 | 10 | 57 | 101 | 46 | 55 | null | null |
Kinokkory/cluss | src/Type/Cluss/TH.hs | bsd-3-clause | clussify :: Name -> Q Type
clussify nm = do
info <- reify nm
return (ConT ''(C.>+<) `appt` ConT nm `appt` convertInfo info) | 134 | clussify :: Name -> Q Type
clussify nm = do
info <- reify nm
return (ConT ''(C.>+<) `appt` ConT nm `appt` convertInfo info) | 133 | clussify nm = do
info <- reify nm
return (ConT ''(C.>+<) `appt` ConT nm `appt` convertInfo info) | 106 | false | true | 0 | 13 | 33 | 67 | 33 | 34 | null | null |
abakst/liquidhaskell | src/Language/Haskell/Liquid/Constraint/Axioms.hs | bsd-3-clause | grapArgs (Lam x e) = x : grapArgs e | 35 | grapArgs (Lam x e) = x : grapArgs e | 35 | grapArgs (Lam x e) = x : grapArgs e | 35 | false | false | 0 | 7 | 8 | 24 | 11 | 13 | null | null |
ndmitchell/profiterole | src/Type.hs | bsd-3-clause | mergeVal :: Val -> Val -> Val
mergeVal x y
| name x /= name y = error "mergeRoots, invariant violated"
| otherwise = Val
{name = name x
,timeTot = timeTot x + timeTot y
,timeInh = timeInh x + timeInh y
,timeInd = timeInd x + timeInd y
,entries = entries x + entries y} | 316 | mergeVal :: Val -> Val -> Val
mergeVal x y
| name x /= name y = error "mergeRoots, invariant violated"
| otherwise = Val
{name = name x
,timeTot = timeTot x + timeTot y
,timeInh = timeInh x + timeInh y
,timeInd = timeInd x + timeInd y
,entries = entries x + entries y} | 316 | mergeVal x y
| name x /= name y = error "mergeRoots, invariant violated"
| otherwise = Val
{name = name x
,timeTot = timeTot x + timeTot y
,timeInh = timeInh x + timeInh y
,timeInd = timeInd x + timeInd y
,entries = entries x + entries y} | 286 | false | true | 0 | 9 | 104 | 138 | 64 | 74 | null | null |
brendanhay/gogol | gogol-plus-domains/gen/Network/Google/PlusDomains/Types/Product.hs | mpl-2.0 | -- | Media type of the link.
aoaitiiType :: Lens' ActivityObjectAttachmentsItemThumbnailsItemImage (Maybe Text)
aoaitiiType
= lens _aoaitiiType (\ s a -> s{_aoaitiiType = a}) | 176 | aoaitiiType :: Lens' ActivityObjectAttachmentsItemThumbnailsItemImage (Maybe Text)
aoaitiiType
= lens _aoaitiiType (\ s a -> s{_aoaitiiType = a}) | 147 | aoaitiiType
= lens _aoaitiiType (\ s a -> s{_aoaitiiType = a}) | 64 | true | true | 0 | 9 | 25 | 48 | 25 | 23 | null | null |
diku-dk/futhark | src/Futhark/Util.hs | isc | encodeChar 'Z' = "ZZ" | 21 | encodeChar 'Z' = "ZZ" | 21 | encodeChar 'Z' = "ZZ" | 21 | false | false | 0 | 5 | 3 | 9 | 4 | 5 | null | null |
alexbaluta/courseography | dependencies/HaXml-1.25.3/src/Text/XML/HaXml/ByteStringPP.hs | gpl-3.0 | defaultdecl :: DefaultDecl -> ByteString
defaultdecl REQUIRED = text "#REQUIRED" | 90 | defaultdecl :: DefaultDecl -> ByteString
defaultdecl REQUIRED = text "#REQUIRED" | 90 | defaultdecl REQUIRED = text "#REQUIRED" | 49 | false | true | 0 | 5 | 19 | 25 | 11 | 14 | null | null |
FranklinChen/Idris-dev | src/IRTS/CodegenJavaScript.hs | bsd-3-clause | jsBASETOP _ n = JSAssign jsSTACKBASE (JSBinOp "+" jsSTACKTOP (JSNum (JSInt n))) | 79 | jsBASETOP _ n = JSAssign jsSTACKBASE (JSBinOp "+" jsSTACKTOP (JSNum (JSInt n))) | 79 | jsBASETOP _ n = JSAssign jsSTACKBASE (JSBinOp "+" jsSTACKTOP (JSNum (JSInt n))) | 79 | false | false | 1 | 11 | 11 | 38 | 18 | 20 | null | null |
facebookincubator/duckling | Duckling/Time/ZH/Corpus.hs | bsd-3-clause | allExamples :: [Example]
allExamples = concat
[ examples (datetime (2013, 2, 12, 4, 30, 0) Second)
[ "现在"
, "此时"
, "此刻"
, "当前"
, "現在"
, "此時"
, "當前"
, "宜家"
, "而家"
, "依家"
]
, ... | 24,345 | allExamples :: [Example]
allExamples = concat
[ examples (datetime (2013, 2, 12, 4, 30, 0) Second)
[ "现在"
, "此时"
, "此刻"
, "当前"
, "現在"
, "此時"
, "當前"
, "宜家"
, "而家"
, "依家"
]
, ... | 24,345 | allExamples = concat
[ examples (datetime (2013, 2, 12, 4, 30, 0) Second)
[ "现在"
, "此时"
, "此刻"
, "当前"
, "現在"
, "此時"
, "當前"
, "宜家"
, "而家"
, "依家"
]
, examples (datetime (2013,... | 24,320 | false | true | 0 | 10 | 12,722 | 7,091 | 4,353 | 2,738 | null | null |
shinjiro-itagaki/shinjirecs | shinjirecs-api/src/Config/Class.hs | gpl-3.0 | importOtherConfig allconfigs imported selfname (Just confobj) dflt =
if elem selfname imported
then dflt
else onlySelfOrWithInc' $ readInclude confobj
where
imported' = imported ++ [selfname]
onlySelfOrWithInc' Nothing = objectToConfig confobj dflt
onlySelfOrWithInc' (Just incText') = object... | 838 | importOtherConfig allconfigs imported selfname (Just confobj) dflt =
if elem selfname imported
then dflt
else onlySelfOrWithInc' $ readInclude confobj
where
imported' = imported ++ [selfname]
onlySelfOrWithInc' Nothing = objectToConfig confobj dflt
onlySelfOrWithInc' (Just incText') = object... | 838 | importOtherConfig allconfigs imported selfname (Just confobj) dflt =
if elem selfname imported
then dflt
else onlySelfOrWithInc' $ readInclude confobj
where
imported' = imported ++ [selfname]
onlySelfOrWithInc' Nothing = objectToConfig confobj dflt
onlySelfOrWithInc' (Just incText') = object... | 838 | false | false | 2 | 9 | 164 | 111 | 55 | 56 | null | null |
brendanhay/gogol | gogol-dfareporting/gen/Network/Google/DFAReporting/Types/Product.hs | mpl-2.0 | -- | Name of this subaccount. This is a required field. Must be less than 128
-- characters long and be unique among subaccounts of the same account.
saName :: Lens' SubAccount (Maybe Text)
saName = lens _saName (\ s a -> s{_saName = a}) | 237 | saName :: Lens' SubAccount (Maybe Text)
saName = lens _saName (\ s a -> s{_saName = a}) | 87 | saName = lens _saName (\ s a -> s{_saName = a}) | 47 | true | true | 1 | 9 | 44 | 53 | 26 | 27 | null | null |
athanclark/rose-trees | bench/Bench.hs | bsd-3-clause | main = defaultMain
[ bgroup "Trees"
[ data_tree_bench
, data_settree_bench
, data_knuthtree_bench
, data_hashtree_bench
]
] | 147 | main = defaultMain
[ bgroup "Trees"
[ data_tree_bench
, data_settree_bench
, data_knuthtree_bench
, data_hashtree_bench
]
] | 147 | main = defaultMain
[ bgroup "Trees"
[ data_tree_bench
, data_settree_bench
, data_knuthtree_bench
, data_hashtree_bench
]
] | 147 | false | false | 1 | 8 | 39 | 33 | 16 | 17 | null | null |
olsner/ghc | compiler/stgSyn/StgSyn.hs | bsd-3-clause | pprStgExpr (StgLetNoEscape bind expr)
= sep [hang (text "let-no-escape {")
2 (pprGenStgBinding bind),
hang (text "} in ")
2 (ppr expr)] | 180 | pprStgExpr (StgLetNoEscape bind expr)
= sep [hang (text "let-no-escape {")
2 (pprGenStgBinding bind),
hang (text "} in ")
2 (ppr expr)] | 180 | pprStgExpr (StgLetNoEscape bind expr)
= sep [hang (text "let-no-escape {")
2 (pprGenStgBinding bind),
hang (text "} in ")
2 (ppr expr)] | 180 | false | false | 0 | 9 | 65 | 64 | 31 | 33 | null | null |
ku-fpg/talks | hermit/Utils.hs | bsd-2-clause | q :: ProseStyle a => a -> a
q = font "monospace" . b | 52 | q :: ProseStyle a => a -> a
q = font "monospace" . b | 52 | q = font "monospace" . b | 24 | false | true | 0 | 8 | 13 | 36 | 15 | 21 | null | null |
semaj/hademlia | test/RoutingDataSpec.hs | bsd-3-clause | nodeB = "B" | 11 | nodeB = "B" | 11 | nodeB = "B" | 11 | false | false | 0 | 4 | 2 | 6 | 3 | 3 | null | null |
ksaveljev/hake-2 | src/Render/Fast/Warp.hs | bsd-3-clause | stToVec :: V.Vector (V3 Int)
stToVec = V.fromList [ V3 3 (-1) 2
, V3 (-3) 1 2
, V3 1 3 2
, V3 (-1) (-3) 2
, V3 (-2) (-1) 3
, V3 2 (-1) (-3)
] | 292 | stToVec :: V.Vector (V3 Int)
stToVec = V.fromList [ V3 3 (-1) 2
, V3 (-3) 1 2
, V3 1 3 2
, V3 (-1) (-3) 2
, V3 (-2) (-1) 3
, V3 2 (-1) (-3)
] | 292 | stToVec = V.fromList [ V3 3 (-1) 2
, V3 (-3) 1 2
, V3 1 3 2
, V3 (-1) (-3) 2
, V3 (-2) (-1) 3
, V3 2 (-1) (-3)
] | 263 | false | true | 0 | 9 | 189 | 127 | 67 | 60 | null | null |
amccausl/Swish | Swish/HaskellRDF/N3FormatterTest.hs | lgpl-2.1 | trivialTest05 = formatTest "trivialTest05" g1l1 simpleN3Graph_g1_05 | 67 | trivialTest05 = formatTest "trivialTest05" g1l1 simpleN3Graph_g1_05 | 67 | trivialTest05 = formatTest "trivialTest05" g1l1 simpleN3Graph_g1_05 | 67 | false | false | 0 | 5 | 5 | 13 | 6 | 7 | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.