_id
stringlengths
64
64
repository
stringlengths
6
84
name
stringlengths
4
110
content
stringlengths
0
248k
license
null
download_url
stringlengths
89
454
language
stringclasses
7 values
comments
stringlengths
0
74.6k
code
stringlengths
0
248k
dc7c1949b0721c07e0c08ff9c7119fdf8e81ba596190fa0b220ade6af2e4673c
linkfluence/inventory
record_test.clj
(ns com.linkfluence.dns.record-test (:use [clojure.test]) (:require [com.linkfluence.dns.common :as common] [com.linkfluence.dns.record :as record])) (def conf-test {:sudo false :bind-dir "/tmp" :store {:file {:bucket "/tmp/store"} :key "dns"} ...
null
https://raw.githubusercontent.com/linkfluence/inventory/6e5e829fd08159b33c0d3e502b10ed6002643f49/test/com/linkfluence/dns/record_test.clj
clojure
(ns com.linkfluence.dns.record-test (:use [clojure.test]) (:require [com.linkfluence.dns.common :as common] [com.linkfluence.dns.record :as record])) (def conf-test {:sudo false :bind-dir "/tmp" :store {:file {:bucket "/tmp/store"} :key "dns"} ...
2c24c7cbdb427a3f24d07be98e237f707508f7497205400500683fc0a2f4c3ee
votinginfoproject/data-processor
source.clj
(ns vip.data-processor.validation.v5.source (:require [korma.core :as korma] [vip.data-processor.db.postgres :as postgres] [vip.data-processor.validation.fips :as fips] [vip.data-processor.validation.v5.util :as util] [vip.data-processor.errors :as errors] [...
null
https://raw.githubusercontent.com/votinginfoproject/data-processor/b4baf334b3a6219d12125af8e8c1e3de93ba1dc9/src/vip/data_processor/validation/v5/source.clj
clojure
(ns vip.data-processor.validation.v5.source (:require [korma.core :as korma] [vip.data-processor.db.postgres :as postgres] [vip.data-processor.validation.fips :as fips] [vip.data-processor.validation.v5.util :as util] [vip.data-processor.errors :as errors] [...
e84bd4fdae3c702e1871e322937ee41b6069aa9279d4047e5f1e16470715dbd4
tsloughter/kuberl
kuberl_v1_node_spec.erl
-module(kuberl_v1_node_spec). -export([encode/1]). -export_type([kuberl_v1_node_spec/0]). -type kuberl_v1_node_spec() :: #{ 'configSource' => kuberl_v1_node_config_source:kuberl_v1_node_config_source(), 'externalID' => binary(), 'podCIDR' => binary(), 'podCIDRs' => list(), 'providerID...
null
https://raw.githubusercontent.com/tsloughter/kuberl/f02ae6680d6ea5db6e8b6c7acbee8c4f9df482e2/gen/kuberl_v1_node_spec.erl
erlang
-module(kuberl_v1_node_spec). -export([encode/1]). -export_type([kuberl_v1_node_spec/0]). -type kuberl_v1_node_spec() :: #{ 'configSource' => kuberl_v1_node_config_source:kuberl_v1_node_config_source(), 'externalID' => binary(), 'podCIDR' => binary(), 'podCIDRs' => list(), 'providerID...
3c7a0f6ba65f8a97392777a93128793754f8815182c7acefcb13bb0263046bac
erlang/otp
ssl_session_cache_api_SUITE.erl
%% %% %CopyrightBegin% %% Copyright Ericsson AB 2010 - 2022 . All Rights Reserved . %% Licensed under the Apache License , Version 2.0 ( the " License " ) ; %% you may not use this file except in compliance with the License. %% You may obtain a copy of the License at %% %% -2.0 %% %% Unless required by applicab...
null
https://raw.githubusercontent.com/erlang/otp/82d134f1b4132209337a5c58d3b8115816b725d0/lib/ssl/test/ssl_session_cache_api_SUITE.erl
erlang
%CopyrightBegin% you may not use this file except in compliance with the License. You may obtain a copy of the License at -2.0 Unless required by applicable law or agreed to in writing, software WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific lan...
Copyright Ericsson AB 2010 - 2022 . All Rights Reserved . Licensed under the Apache License , Version 2.0 ( the " License " ) ; distributed under the License is distributed on an " AS IS " BASIS , -module(ssl_session_cache_api_SUITE). -behaviour(ct_suite). -include_lib("common_test/include/ct.hrl"). -include(...
7c794e6f5ba9a11837671e0b37aaf8b7bd799d71a432ab468cafe749f22e7bb3
aryx/xix
test_bind.ml
open Common let main () = let res = Plan9.bind "/tests/xxx" "/" Plan9.MRepl in let file = Unix.openfile " /test_plan9 " [ Unix . O_RDWR ] 0o666 in Unix.close file let file = Unix.openfile "/test_plan9" [Unix.O_RDWR] 0o666 in Unix.close file *) let dir = Unix.opendir "/" in let rec aux () = ...
null
https://raw.githubusercontent.com/aryx/xix/60ce1bd9a3f923e0e8bb2192f8938a9aa49c739c/lib_system/plan9/tests/test_bind.ml
ocaml
open Common let main () = let res = Plan9.bind "/tests/xxx" "/" Plan9.MRepl in let file = Unix.openfile " /test_plan9 " [ Unix . O_RDWR ] 0o666 in Unix.close file let file = Unix.openfile "/test_plan9" [Unix.O_RDWR] 0o666 in Unix.close file *) let dir = Unix.opendir "/" in let rec aux () = ...
a2b7e489b152a527b9ccc118e7de1168492c87341d290d635078511953a47c08
bmeurer/ocaml-experimental
odoc_ast.ml
(***********************************************************************) (* OCamldoc *) (* *) , projet Cristal , INRIA Rocquencourt (* ...
null
https://raw.githubusercontent.com/bmeurer/ocaml-experimental/fe5c10cdb0499e43af4b08f35a3248e5c1a8b541/ocamldoc/odoc_ast.ml
ocaml
********************************************************************* OCamldoc ...
, projet Cristal , INRIA Rocquencourt Copyright 2001 Institut National de Recherche en Informatique et en Automatique . All rights reserved . This file is distributed under the terms of the Q Public License version 1.0 . $ Id$ open Misc open Asttypes open Type...
d8cba5aecea4166f991d29198f9ab8f0f04f813551cda8f4aad9836b3f44f497
tsloughter/kuberl
kuberl_v1_storage_class_list.erl
-module(kuberl_v1_storage_class_list). -export([encode/1]). -export_type([kuberl_v1_storage_class_list/0]). -type kuberl_v1_storage_class_list() :: #{ 'apiVersion' => binary(), 'items' := list(), 'kind' => binary(), 'metadata' => kuberl_v1_list_meta:kuberl_v1_list_meta() }. encode(#{ '...
null
https://raw.githubusercontent.com/tsloughter/kuberl/f02ae6680d6ea5db6e8b6c7acbee8c4f9df482e2/gen/kuberl_v1_storage_class_list.erl
erlang
-module(kuberl_v1_storage_class_list). -export([encode/1]). -export_type([kuberl_v1_storage_class_list/0]). -type kuberl_v1_storage_class_list() :: #{ 'apiVersion' => binary(), 'items' := list(), 'kind' => binary(), 'metadata' => kuberl_v1_list_meta:kuberl_v1_list_meta() }. encode(#{ '...
a5950c8f418eabba2f8a4a1811e8cdcf1f49f6b87c7b4fd191b48f56df16c821
haskell-lisp/yale-haskell
util.scm
util.scm -- utilities for printing AST structures ;;; author : date : 15 Jan 1992 ;;; ;;; The AST syntax printers are only used if this variable is true . (define *print-ast-syntax* '#t) Here 's a macro for defining AST printers . (define-syntax (define-ast-printer type lambda-list . body) (l...
null
https://raw.githubusercontent.com/haskell-lisp/yale-haskell/4e987026148fe65c323afbc93cd560c07bf06b3f/printers/util.scm
scheme
This variable controls how much indentation to perform on block bodies. Begin a logical block with the default indentation. prevents unused variable warning Write a space and maybe a fill line break. Write a space and maybe a mandatory line break. Write a list of things separated by delimiters and maybe surr...
util.scm -- utilities for printing AST structures author : date : 15 Jan 1992 The AST syntax printers are only used if this variable is true . (define *print-ast-syntax* '#t) Here 's a macro for defining AST printers . (define-syntax (define-ast-printer type lambda-list . body) (let ((printer...
cc2b5e54e30ff89624ee75f514072844594304f95f88292734fd285606d999b2
gren-lang/compiler
Parse.hs
{-# LANGUAGE OverloadedStrings #-} module Helpers.Parse ( checkParse, checkSuccessfulParse, checkParseError, ) where import Data.ByteString qualified as BS import Parse.Primitives qualified as P import Parse.Space qualified as Space import Reporting.Annotation qualified as A import Test.Hspec qualified as...
null
https://raw.githubusercontent.com/gren-lang/compiler/33dd3a071d14f45388ecc106fd0537e110b64448/tests/Helpers/Parse.hs
haskell
# LANGUAGE OverloadedStrings #
module Helpers.Parse ( checkParse, checkSuccessfulParse, checkParseError, ) where import Data.ByteString qualified as BS import Parse.Primitives qualified as P import Parse.Space qualified as Space import Reporting.Annotation qualified as A import Test.Hspec qualified as Hspec checkParse :: (Show error, ...
ed20cc9b839294015961b0e0fb588670b6decff39fb454b237680a68db82e77d
shnarazk/mios
dump2csv.hs
-- | Usage: -- > mios --dump ... | mios-dump2csv > a.csv module Main where import SAT.Mios.Util.Stat main :: IO () main = do putStrLn $ fst (header :: (String, MiosDump)) mapM_ (putStrLn . toCSV) =<< parseBy [("", fromDump)] <$> getContents
null
https://raw.githubusercontent.com/shnarazk/mios/d032d761d73224f981a07ec2ea90936db6f495e8/MultiConflict/utils/dump2csv.hs
haskell
| Usage: > mios --dump ... | mios-dump2csv > a.csv
module Main where import SAT.Mios.Util.Stat main :: IO () main = do putStrLn $ fst (header :: (String, MiosDump)) mapM_ (putStrLn . toCSV) =<< parseBy [("", fromDump)] <$> getContents
76494191a10a36c37e18e8383fc3ee89ba93054564c2cd2099102f935adddfb7
replikativ/hasch
md5.cljc
(ns hasch.md5 #?(:cljs (:require [goog.crypt.Md5] [goog.crypt.Hash] [goog.crypt])) #?(:clj (:import [java.security MessageDigest] [java.math BigInteger]))) (defn str->md5 [^String s] #?(:clj (let [algorithm (MessageDigest/getInstance "MD5") ...
null
https://raw.githubusercontent.com/replikativ/hasch/84c4f86ac16a92f356c9378e08e94152d00ee0a2/src/hasch/md5.cljc
clojure
(ns hasch.md5 #?(:cljs (:require [goog.crypt.Md5] [goog.crypt.Hash] [goog.crypt])) #?(:clj (:import [java.security MessageDigest] [java.math BigInteger]))) (defn str->md5 [^String s] #?(:clj (let [algorithm (MessageDigest/getInstance "MD5") ...
f2e03b88dbf145cc6922c5343307c457f060b00420142f1d9dcc529de9f4f4ef
mtakuya/gauche-yahoo-jp
web-search.scm
#!/usr/bin/env gosh (use yahoo-jp) (define appid "YOUR-APPID") (define yahoo-obj (make-yahoo-jp appid)) (define res (yahoo:web-search yahoo-obj '((query "yahoo")))) (for-each (lambda (lst) (display (web-title lst)) (newline) (display (web-summary lst)) (newline) ...
null
https://raw.githubusercontent.com/mtakuya/gauche-yahoo-jp/3abdbf3b10d3db1923329e41b3a8d8cff5796413/example/web-search.scm
scheme
#!/usr/bin/env gosh (use yahoo-jp) (define appid "YOUR-APPID") (define yahoo-obj (make-yahoo-jp appid)) (define res (yahoo:web-search yahoo-obj '((query "yahoo")))) (for-each (lambda (lst) (display (web-title lst)) (newline) (display (web-summary lst)) (newline) ...
868894d8322277b3bc4d06958ee9beeec7ed644dc607214d341e16af14f17cdc
MyPost/cassius
definitions.clj
(ns cassius.schema.definitions (:import [org.apache.cassandra.thrift IndexType])) (def cassandra-column-types #{"Super" "Standard"}) (def cassandra-key-types {:ascii "AsciiType" :bytes "BytesType" :composite "CompositeType" :counter "CounterColumnType" :doub...
null
https://raw.githubusercontent.com/MyPost/cassius/7b5f550fa8e8f825d4ecd7ba6a0d34c5ff606a7c/src/cassius/schema/definitions.clj
clojure
(ns cassius.schema.definitions (:import [org.apache.cassandra.thrift IndexType])) (def cassandra-column-types #{"Super" "Standard"}) (def cassandra-key-types {:ascii "AsciiType" :bytes "BytesType" :composite "CompositeType" :counter "CounterColumnType" :doub...
f9b3f1e35b2eb8c4c35ecdd34f07417974d776235490c905877e84f3d197ca9f
thoughtstem/vr-engine
vr-engine.rkt
#lang racket (provide (all-from-out ;"./assets.rkt" "./attribute-definer.rkt" "./component-definer.rkt" "./my-ip-qr.rkt" "./vr-helpers.rkt" ) (except-out (all-from-out "./vr.rkt") color position scale) ( all - from - out 2htdp / image ) ) (require "./...
null
https://raw.githubusercontent.com/thoughtstem/vr-engine/18e290f7d61ddd2b32a2f12a8abb0c4a30ed3a08/vr-engine.rkt
racket
"./assets.rkt" "./assets.rkt"
#lang racket (provide "./attribute-definer.rkt" "./component-definer.rkt" "./my-ip-qr.rkt" "./vr-helpers.rkt" ) (except-out (all-from-out "./vr.rkt") color position scale) ( all - from - out 2htdp / image ) ) (require "./my-ip-qr.rkt" "./compo...
f75f6f98143d804e6bcb47ede8a7c0d5dcdb8b28e952192a378f954f0df2c021
ariesteam/aries
worldgen.clj
Copyright 2009 ;;; ;;; This file is part of CLJ-DISTRICT. ;;; ;;; CLJ-DISTRICT is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation , either version 3 of the License , or ( at your option ) any later version ....
null
https://raw.githubusercontent.com/ariesteam/aries/b3fafd4640f4e7950fff3791bc4ea4c06ee4dcdf/plugins/org.integratedmodelling.aries.core/bindings/clojure/district/worldgen.clj
clojure
This file is part of CLJ-DISTRICT. CLJ-DISTRICT is free software: you can redistribute it CLJ-DISTRICT is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for m...
Copyright 2009 and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation , either version 3 of the License , or ( at your option ) any later version . You should have received a copy of the GNU General Public License (ns district.worldgen (:refer-cloj...
3eff169791a6b43da90d1db7f8bc2207d9cd3b3baa228d63cc4540ba0cc234bf
grzm/awyeah-api
protocol.clj
Copyright ( c ) Cognitect , Inc. ;; All rights reserved. (ns ^:skip-wiki com.grzm.awyeah.client.protocol "Impl, don't call directly.") (defprotocol Client (-get-info [_] "Used by fns in com.grzm.awyeah.client.api. Implementors must supply :service, and may also supply anything else needed by t...
null
https://raw.githubusercontent.com/grzm/awyeah-api/1810bf624da2be58c77813106a1d51e32db11690/src/com/grzm/awyeah/client/protocol.clj
clojure
All rights reserved.
Copyright ( c ) Cognitect , Inc. (ns ^:skip-wiki com.grzm.awyeah.client.protocol "Impl, don't call directly.") (defprotocol Client (-get-info [_] "Used by fns in com.grzm.awyeah.client.api. Implementors must supply :service, and may also supply anything else needed by the other ...
8c338fb88e6991b5b2fe1b69c524b3f655343d005bc2bcf1eff7dacb6c65a286
yuriy-chumak/ol
multi_draw_arrays.scm
; =========================================================================== EXT_multi_drtaw_arrays ( included in OpenGL 1.4 ) ; ; ; ; Version ; ; Overview ; (define-library (OpenGL EXT multi_draw_arrays) ; --------------------------------------------------------------------------- ; D...
null
https://raw.githubusercontent.com/yuriy-chumak/ol/83dd03d311339763682eab02cbe0c1321daa25bc/libraries/OpenGL/EXT/multi_draw_arrays.scm
scheme
=========================================================================== Version Overview --------------------------------------------------------------------------- Dependencies --------------------------------------------------------------------------- -------------------------------------------------...
EXT_multi_drtaw_arrays ( included in OpenGL 1.4 ) (define-library (OpenGL EXT multi_draw_arrays) (import (scheme core) (OpenGL platform)) (export EXT_multi_draw_arrays ) (begin (define EXT_multi_draw_arrays (gl:QueryExtension "GL_EXT_multi_draw_arrays")) ))
f82385cfdb6ceb96e983a37a377127fe3bd9e3ce217af4879197af356e0cc871
rescript-lang/rescript-compiler
arg.mli
(**************************************************************************) (* *) (* OCaml *) (* *) ...
null
https://raw.githubusercontent.com/rescript-lang/rescript-compiler/c74eb8de6ed6dd909571da9cc4d0ad16ae2154d2/jscomp/stdlib-406/arg.mli
ocaml
************************************************************************ OCaml ...
, projet Para , INRIA Rocquencourt Copyright 1996 Institut National de Recherche en Informatique et the GNU Lesser General Public License version 2.1 , with the * Parsing of command line arguments . This module provides a general mechanism for extracting options...
f48977cad502b2bbfce4ff78a8d960a110504cd6a413435831f302780d0cf737
yetanalytics/flint
prologue_test.cljc
(ns com.yetanalytics.flint.spec.prologue-test (:require [clojure.test :refer [deftest testing is]] [clojure.spec.alpha :as s] [com.yetanalytics.flint.spec.prologue :as ps])) (deftest valid-prologue-test (testing "Valid base IRIs" (is (s/valid? ::ps/base "<>")) (is (not (s/valid? ::p...
null
https://raw.githubusercontent.com/yetanalytics/flint/b0a2530582e04f5592869b0152b846864c283d77/src/test/com/yetanalytics/flint/spec/prologue_test.cljc
clojure
(ns com.yetanalytics.flint.spec.prologue-test (:require [clojure.test :refer [deftest testing is]] [clojure.spec.alpha :as s] [com.yetanalytics.flint.spec.prologue :as ps])) (deftest valid-prologue-test (testing "Valid base IRIs" (is (s/valid? ::ps/base "<>")) (is (not (s/valid? ::p...
a073d4aef29577571828f4ac0fbad14664a8877142908d8295bd73bb04442384
ErlyORM/boss_db
boss_cache_adapter.erl
-module(boss_cache_adapter). -callback start() -> pid() | 'ok'. -callback start(_) -> pid() | 'ok'. -callback stop(atom() | pid() | {atom(),_} | {'via',_,_}) -> 'ok'. -callback init(_) -> {'ok', pid() | undefined}. -callback terminate(atom() | pid() | {atom(),_} | {'via',_,_}) -> 'ok'. -callback get(_,atom() | string(...
null
https://raw.githubusercontent.com/ErlyORM/boss_db/20060a061d3c4120929e4a4fedae1bb5e5830426/src/boss_cache_adapter.erl
erlang
-module(boss_cache_adapter). -callback start() -> pid() | 'ok'. -callback start(_) -> pid() | 'ok'. -callback stop(atom() | pid() | {atom(),_} | {'via',_,_}) -> 'ok'. -callback init(_) -> {'ok', pid() | undefined}. -callback terminate(atom() | pid() | {atom(),_} | {'via',_,_}) -> 'ok'. -callback get(_,atom() | string(...
518e3f47eb2499e56e55ddb64ac985225587bda119688bcfa8af7ffd1fb4f9b7
plexus/chestnut
core_test.cljs
(ns {{project-ns}}.core-test (:require-macros [cljs.test :refer (is deftest testing)]) (:require [cljs.test])) (deftest example-passing-test (is (= 1 1)))
null
https://raw.githubusercontent.com/plexus/chestnut/684b668141586ed5ef4389f94a4dc7f4fde13112/src/leiningen/new/chestnut/test/cljs/chestnut/core_test.cljs
clojure
(ns {{project-ns}}.core-test (:require-macros [cljs.test :refer (is deftest testing)]) (:require [cljs.test])) (deftest example-passing-test (is (= 1 1)))
6541ee35671898d911ce1024fa20840019ef7ba58559718823d077d0eb95bb9b
rd--/hsc3
runningMax.help.hs
-- runningMax let n = dust ar 20 t = impulse ar 0.4 0 f = runningMax n t * 500 + 200 in t + sinOsc ar f 0 * 0.2 -- runningMax ; follow a sine lfo, reset rate controlled by mouse x let t = impulse kr (mouseX kr 0.01 2 Linear 0.1) 0 f = runningMax (sinOsc kr 0.2 0) t * 500 + 200 in t + sinOsc ar f 0 * 0.2 -...
null
https://raw.githubusercontent.com/rd--/hsc3/60cb422f0e2049f00b7e15076b2667b85ad8f638/Help/Ugen/runningMax.help.hs
haskell
runningMax runningMax ; follow a sine lfo, reset rate controlled by mouse x runningMax ; id
let n = dust ar 20 t = impulse ar 0.4 0 f = runningMax n t * 500 + 200 in t + sinOsc ar f 0 * 0.2 let t = impulse kr (mouseX kr 0.01 2 Linear 0.1) 0 f = runningMax (sinOsc kr 0.2 0) t * 500 + 200 in t + sinOsc ar f 0 * 0.2 let n = dustId 'α' ar 20 t = impulse ar 0.4 0 f = runningMax n t * 500 + 20...
02a9e5f469eedad39c13079045f4101dfc38b23a9883b52fca1099a7435fb7cc
lamdu/momentu
ListBox.hs
-- | A vertical-expand (combo-like) choice widget -- -- TODO: Highlight selected option and enter should go directly to it module GUI.Momentu.Widgets.ListBox ( make , Config(..), defaultConfig , Orientation(..) ) where import qualified Control.Lens as Lens import GUI.Momentu.Align (TextWidge...
null
https://raw.githubusercontent.com/lamdu/momentu/e5cc4a13874439349d77c465ab74d87872a6f59d/src/GUI/Momentu/Widgets/ListBox.hs
haskell
| A vertical-expand (combo-like) choice widget TODO: Highlight selected option and enter should go directly to it
module GUI.Momentu.Widgets.ListBox ( make , Config(..), defaultConfig , Orientation(..) ) where import qualified Control.Lens as Lens import GUI.Momentu.Align (TextWidget) import qualified GUI.Momentu.Align as Align import GUI.Momentu.Direction (Orientation(..)) import qualified GU...
631c0aba25d40689de8ea2aea64f800b647ffaa5cb4671f7783a386aab7278b9
styx/Raincat
GameInput.hs
module Game.GameInput (gameInput, gameMotion) where import Graphics.UI.GLUT import System.Exit import Data.IORef import Input.InputState as InputState import Settings.DisplaySettings as DisplaySettings -- gameMotion gameMotion :: IORef InputState.MousePos -> Position -> IO () gameMotion mousePosRef (Position...
null
https://raw.githubusercontent.com/styx/Raincat/49b688c73335c9a4090708bc75f6af9575a65670/src/Game/GameInput.hs
haskell
gameMotion keyboardAct up arrow key down arrow key left arrow key right arrow key space key esc key quit key left mouse button right mouse button
module Game.GameInput (gameInput, gameMotion) where import Graphics.UI.GLUT import System.Exit import Data.IORef import Input.InputState as InputState import Settings.DisplaySettings as DisplaySettings gameMotion :: IORef InputState.MousePos -> Position -> IO () gameMotion mousePosRef (Position posX posY) = ...
8a188b8fb03f539878f6df6b8261e33322ae02853822d7283cde650ca4f153d2
jaspervdj/jaspervdj
2020-03-12-demo.hs
# LANGUAGE DataKinds # {-# LANGUAGE KindSignatures #-} # LANGUAGE TemplateHaskell # # LANGUAGE TypeApplications # module Demo where import Visual import Data.Bool (bool) import Data.Tuple import qualified Codec.Picture.Types as JP $(industryStandardBoilerplate (Just '━') '(━►) Nothing) $(industryStandard...
null
https://raw.githubusercontent.com/jaspervdj/jaspervdj/495c65f5c400b64fc9aa089cb7d545a3c0fd2292/files/2020-03-12-demo.hs
haskell
# LANGUAGE KindSignatures # Needs small up parts?
# LANGUAGE DataKinds # # LANGUAGE TemplateHaskell # # LANGUAGE TypeApplications # module Demo where import Visual import Data.Bool (bool) import Data.Tuple import qualified Codec.Picture.Types as JP $(industryStandardBoilerplate (Just '━') '(━►) Nothing) $(industryStandardBoilerplate (Just '━') '(┭►) (Just...
baf63e7b224318f243c99db97ef632c9970b4b9c701981e786eb2ee6e4cc2407
mirage/mirage-tcpip
config.ml
open Mirage let main = let packages = [ package ~min:"2.9.0" "ipaddr" ] in foreign ~packages "Services.Main" (stackv4 @-> job) let stack = generic_stackv4 default_network let () = register "services" [ main $ stack ]
null
https://raw.githubusercontent.com/mirage/mirage-tcpip/edb9e7d20f53d1b54ba97ee36d793b334d5a31e4/examples/unikernel/config.ml
ocaml
open Mirage let main = let packages = [ package ~min:"2.9.0" "ipaddr" ] in foreign ~packages "Services.Main" (stackv4 @-> job) let stack = generic_stackv4 default_network let () = register "services" [ main $ stack ]
b98737590302342b615652e4454fd12241b898545bc39b0dbc092e4e7c8d9fc6
ml4tp/tcoq
univ.mli
(************************************************************************) v * The Coq Proof Assistant / The Coq Development Team < O _ _ _ , , * INRIA - CNRS - LIX - LRI - PPS - Copyright 1999 - 2017 \VV/ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *...
null
https://raw.githubusercontent.com/ml4tp/tcoq/7a78c31df480fba721648f277ab0783229c8bece/checker/univ.mli
ocaml
********************************************************************** // * This file is distributed under the terms of the * GNU Lesser General Public License Version 2.1 ********************************************************************** * Universes. * Type of universe lev...
v * The Coq Proof Assistant / The Coq Development Team < O _ _ _ , , * INRIA - CNRS - LIX - LRI - PPS - Copyright 1999 - 2017 \VV/ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * module Level : sig type t ...
2f0d90c5655da8792cf3a7eb088049fcc7be21615331e9d09f916083e3b6f6c2
willtim/Atavachron
Executor.hs
# LANGUAGE RecordWildCards # # OPTIONS_GHC -fno - warn - orphans # -- | A thread-pool using a blocking bounded queue. -- module Atavachron.Executor ( Executor , Future(..) , new , shutdown , shutdownAndWait , submit_ , submit , scheduleAtFixedRate ) where import Control.Monad impo...
null
https://raw.githubusercontent.com/willtim/Atavachron/bbf9a93eac0e096ee4595e23067c912af865601e/src/Atavachron/Executor.hs
haskell
| A thread-pool using a blocking bounded queue. | A pool of worker threads. Create a linked async task. Any exceptions thrown in the async will be re-thrown in the current thread | Create a new Executor thread-pool. Create worker threads die | Submit an IO effect for execution by the Executor. blocks if queue...
# LANGUAGE RecordWildCards # # OPTIONS_GHC -fno - warn - orphans # module Atavachron.Executor ( Executor , Future(..) , new , shutdown , shutdownAndWait , submit_ , submit , scheduleAtFixedRate ) where import Control.Monad import Control.Concurrent (threadDelay) import Control.Con...
8ba9036fa574f2364f20eb485e37e52ee845a47f5d01aa1790aeb359c9bba24a
mojombo/rebar
json.erl
Copyright ( c ) 2005 - 2006 , A2Z Development USA , Inc. All Rights Reserved . %%% The contents of this file are subject to the Erlang Public License , Version 1.1 , ( the " License " ) ; you may not use this file except in %%% compliance with the License. You should have received a copy of the %%% Erlang Publi...
null
https://raw.githubusercontent.com/mojombo/rebar/fb7f7c85e14fa8e40904c3eb9566ac278a42d2e8/json.erl
erlang
compliance with the License. You should have received a copy of the Erlang Public License along with this software. If not, it can be retrieved via the world wide web at /. basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations ...
Copyright ( c ) 2005 - 2006 , A2Z Development USA , Inc. All Rights Reserved . The contents of this file are subject to the Erlang Public License , Version 1.1 , ( the " License " ) ; you may not use this file except in Software distributed under the License is distributed on an " AS IS " The Initial Develo...
99deb68b0312463f1623e24f097c143873982a96dc63e4b6681d82d4eb1bbb23
sras/elminator
Lib.hs
{-# LANGUAGE OverloadedStrings #-} module Elminator.Lib ( TypeDescriptor(..) , PolyConfig(..) , GenOption(..) , GenM , Decoder(..) , ConName , ConTag , ContentDecoder(..) , FieldName , FieldTag , ConstructorDescriptor(..) , Constructors , toTypeDescriptor , collectExtRefs , typeDescriptor...
null
https://raw.githubusercontent.com/sras/elminator/9a1344c531b75fbc6d4e96049fc8514a23fc0032/src/Elminator/Lib.hs
haskell
# LANGUAGE OverloadedStrings # Structure that we use to specify both encoders and decoders. | Decides wether the type definition will be polymorphic. | Decides which among type definiton, encoder and decoder will be included for a type. The poly config value decides wether the included type definition will be pol...
module Elminator.Lib ( TypeDescriptor(..) , PolyConfig(..) , GenOption(..) , GenM , Decoder(..) , ConName , ConTag , ContentDecoder(..) , FieldName , FieldTag , ConstructorDescriptor(..) , Constructors , toTypeDescriptor , collectExtRefs , typeDescriptorToDecoder , renderTypeVar , Bui...
09c6fcf3ea36dcf6d63ac2d2937f76c4b74059166f7221d6eec05a49398e8936
kmi/irs
load.lisp
Mode : Lisp ; Package : File created in WebOnto (in-package "OCML") ;;; The ontology depends on some statistics functions (require :cl-statistics) (def-ontology units-manipulation :includes (international-system-units) :type :domain :namespace-uri "-manipulation#" :namespaces (("si" international-syst...
null
https://raw.githubusercontent.com/kmi/irs/e1b8d696f61c6b6878c0e92d993ed549fee6e7dd/ontologies/domains/units-manipulation/load.lisp
lisp
Package : The ontology depends on some statistics functions
File created in WebOnto (in-package "OCML") (require :cl-statistics) (def-ontology units-manipulation :includes (international-system-units) :type :domain :namespace-uri "-manipulation#" :namespaces (("si" international-system-units) ("phys-q" physical-quantities)) :files (...
27d27ab5b04b28f602c2c9d062537083b7ba4b5a3cb95d2440c8a7971c1e0d4c
muoncore/photon
integration_test.clj
(ns photon.current.integration-test (:require [muon-clojure.core :as cl] [clojure.tools.logging :as log] [clojure.core.async :as async :refer [go-loop <! <!!]] [photon.config :as conf] [photon.db :as db] [photon.muon :as muon] [photon.current.com...
null
https://raw.githubusercontent.com/muoncore/photon/622e664f8712de32b9a3c6f3ce2d5e445f31d8b4/test/photon/current/integration_test.clj
clojure
(ns photon.current.integration-test (:require [muon-clojure.core :as cl] [clojure.tools.logging :as log] [clojure.core.async :as async :refer [go-loop <! <!!]] [photon.config :as conf] [photon.db :as db] [photon.muon :as muon] [photon.current.com...
0fc057fad885288142a5e1c56c51c24a0a4036b94efb7aaf08eb856fac7d7ba7
umutisik/mathvas
graph.hs
-- turns functions R^2->R^3 into images # LANGUAGE PackageImports , BangPatterns , TemplateHaskell , QuasiQuotes # {-# OPTIONS -fno-warn-tabs #-} import Data.List import Control.Monad import Control.Monad.State import System.Environment import Data.Word import Data.Array.Repa.IO.BMP import Data.Array.Repa.IO.Timing i...
null
https://raw.githubusercontent.com/umutisik/mathvas/9f764cd4d54370262c70c7ec3eadae076a1eb489/snippet_code_templates/graph.hs
haskell
turns functions R^2->R^3 into images # OPTIONS -fno-warn-tabs # STUDENTCODEDELIMITER--- this is the function that will be graphed STUDENTCODEDELIMITER--- code useful for graphing global settings run with selected algorithm basic function tools ----------------------------------------------------------------...
# LANGUAGE PackageImports , BangPatterns , TemplateHaskell , QuasiQuotes # import Data.List import Control.Monad import Control.Monad.State import System.Environment import Data.Word import Data.Array.Repa.IO.BMP import Data.Array.Repa.IO.Timing import Data.Array.Repa as A import qualified Data.Array.Repa.R...
2b7c3e37f99a1b34c829346f50ae65f93d98828a05432672aa843e321cfa1521
casperschipper/ocaml-cisp
sampler.ml
open OUnit open OSC.OscTypes let parsePacket _ = 1.0 let osc_to_stream = let open Lwt in let open Osc_lwt.Udp in let localhost = Unix.inet_addr_of_string "127.0.0.1" in let port = 4567 in let addr = Lwt_unix.ADDR_INET (localhost, port) in let buffer_length = 1024 in let state = ref 0.0 in let serve...
null
https://raw.githubusercontent.com/casperschipper/ocaml-cisp/618b19509c95ff5bd6e442e0a78942d4591a59be/src/sampler/sampler.ml
ocaml
open OUnit open OSC.OscTypes let parsePacket _ = 1.0 let osc_to_stream = let open Lwt in let open Osc_lwt.Udp in let localhost = Unix.inet_addr_of_string "127.0.0.1" in let port = 4567 in let addr = Lwt_unix.ADDR_INET (localhost, port) in let buffer_length = 1024 in let state = ref 0.0 in let serve...
8c216647d5c6f4a090a308dc0d0b7b392a67b2cfa39d8847063e2d2f6379da06
hyperfiddle/electric
convey_clj_p_clj.cljc
(ns user (:require [datalevin.core :as d] [hyperfiddle.photon :as p] [hyperfiddle.photon-jetty-adapter :as photon-jetty-adapter] [mount.core :refer [defstate]] [ring.adapter.jetty9 :as ring.jetty9])) (def ^:dynamic *user* nil) (p/def db) (comment (defstate server ...
null
https://raw.githubusercontent.com/hyperfiddle/electric/1c6c3891cbf13123fef8d33e6555d300f0dac134/scratch/dustin/y2023/convey_clj_p_clj.cljc
clojure
capture photon env, pass to clojure clojure can see *user-ent*
(ns user (:require [datalevin.core :as d] [hyperfiddle.photon :as p] [hyperfiddle.photon-jetty-adapter :as photon-jetty-adapter] [mount.core :refer [defstate]] [ring.adapter.jetty9 :as ring.jetty9])) (def ^:dynamic *user* nil) (p/def db) (comment (defstate server ...
8b5cababe4356f9bfc3a3ce949ed612150dd4c906d7505319a364f5e35668ecd
senapk/fn_2020_1
Main1.hs
main = do putStrLn "Digite um inteiro e um float, um por linha" i' <- getLine -- some integral input; it will be received as a String d' <- getLine -- some floating input; also will be received as a String let i = read i' :: Int -- i is an Int now d = read d' :: Double -- d is a Double now so ...
null
https://raw.githubusercontent.com/senapk/fn_2020_1/dd30b5d49300459a62b00299d65309f09638d8fc/s02e01_main/Main1.hs
haskell
some integral input; it will be received as a String some floating input; also will be received as a String i is an Int now d is a Double now to show the variables
main = do putStrLn "Digite um inteiro e um float, um por linha" so that GHC does n't complain
0e3aa90ed59031a5d03e96e284d7bdb99c78c25621a6d207c895cb5eaede2c01
MLstate/opalang
resArray.mli
Copyright © 2011 MLstate This file is part of . is free software : you can redistribute it and/or modify it under the terms of the GNU Affero General Public License , version 3 , as published by the Free Software Foundation . is distributed in the hope that it will be useful , ...
null
https://raw.githubusercontent.com/MLstate/opalang/424b369160ce693406cece6ac033d75d85f5df4f/ocamllib/libbase/resArray.mli
ocaml
* [clear t] remove all elements
Copyright © 2011 MLstate This file is part of . is free software : you can redistribute it and/or modify it under the terms of the GNU Affero General Public License , version 3 , as published by the Free Software Foundation . is distributed in the hope that it will be useful , ...
5e3dc8be7810f293bd1b783c7f2effc9a5c76ace5bec77e8654cd9df92c1c4e4
AlacrisIO/legicash-facts
ppx_deriving_rlp_runtime.ml
include Ppx_deriving_rlp_runtime_core open Rlping module Ppx_deriving_rlp_runtime_core = Ppx_deriving_rlp_runtime_core (* ------------------------------------------------------------------------- *) Adapting Rlping from one type to another if they are isomorphic (** Given a type `a` which has rlping, and conversi...
null
https://raw.githubusercontent.com/AlacrisIO/legicash-facts/5d3663bade68c09bed47b3f58fa12580f38fdb46/src/ppx_deriving_rlp/src/ppx_deriving_rlp_runtime.ml
ocaml
------------------------------------------------------------------------- * Given a type `a` which has rlping, and conversion functions between `a` and `b`, produce the rlping for type `b` ------------------------------------------------------------------------- unit / empty-tuple strings chars signed i...
include Ppx_deriving_rlp_runtime_core open Rlping module Ppx_deriving_rlp_runtime_core = Ppx_deriving_rlp_runtime_core Adapting Rlping from one type to another if they are isomorphic let rlping_by_isomorphism a_to_b b_to_a a_rlping = let to_rlp_item b = a_rlping.Rlping.to_rlp_item (b_to_a b) and of_rlp_item a...
ab401416bb577b718482f128e199dbbc818a7244944eef1a20460b95b7d90bea
LdBeth/CLFSWM
keyb_fr.lisp
;;; -------------------------------------------------------------------------- ;;; CLFSWM - FullScreen Window Manager ;;; ;;; -------------------------------------------------------------------------- Documentation : Define some keybindings for an azerty french keyboard ;;; -------------------------------------------...
null
https://raw.githubusercontent.com/LdBeth/CLFSWM/4e936552d1388718d2947a5f6ca3eada19643e75/contrib/keyb_fr.lisp
lisp
-------------------------------------------------------------------------- CLFSWM - FullScreen Window Manager -------------------------------------------------------------------------- -------------------------------------------------------------------------- This program is free software; you can redistribute ...
Documentation : Define some keybindings for an azerty french keyboard ( C ) 2015 < > it under the terms of the GNU General Public License as published by You should have received a copy of the GNU General Public License Foundation , Inc. , 59 Temple Place - Suite 330 , Boston , MA 02111 - 1307 , USA . Do...
2ccc6aa7600f2b6562576a9c14ba6c6097138dcbb528534cea8e9465879eced0
Frama-C/Frama-C-snapshot
from_compute.ml
(**************************************************************************) (* *) This file is part of Frama - C. (* *) Copyright ...
null
https://raw.githubusercontent.com/Frama-C/Frama-C-snapshot/639a3647736bf8ac127d00ebe4c4c259f75f9b87/src/plugins/from/from_compute.ml
ocaml
************************************************************************ alternatives) ...
This file is part of Frama - C. Copyright ( C ) 2007 - 2019 CEA ( Commissariat à l'énergie atomique et aux énergies Lesser General Public License as published by the Free Software Foundation , v...
503347cd539c2a4f97f3c6d5f02ae944b131195d75cfcca513bbcaa64eefd216
braintripping/lark
ext.cljc
(ns lark.tree.ext (:require [clojure.string :as string] [lark.tree.emit :as emit] [lark.tree.reader :as rd] [lark.tree.node :as n])) (defn normalize-comment-line [s] (string/replace s #"^;+\s?" "")) (comment ;; IN PROGRESS ;; thinking about a better way to group comment and ...
null
https://raw.githubusercontent.com/braintripping/lark/95038a823068681c39453c46a309a3514cf48800/tools/src/lark/tree/ext.cljc
clojure
IN PROGRESS thinking about a better way to group comment and code blocks ...contemplating a transducer, or similar thing?
(ns lark.tree.ext (:require [clojure.string :as string] [lark.tree.emit :as emit] [lark.tree.reader :as rd] [lark.tree.node :as n])) (defn normalize-comment-line [s] (string/replace s #"^;+\s?" "")) (comment (defn conj-while [[out in] xform] (loop [out out in in...
3045be540e21ac4784ae51f01d9858955e81bfdaa4308197ecceb3914bf0ff5e
clingen-data-model/genegraph
segregation.clj
(ns genegraph.source.graphql.schema.segregation (:require [genegraph.database.query :as q])) (def segregation {:name :Segregation :graphql-type :object :description "Evidence describing phenotype/genotype segregation in the context of a family." :implements [:Resource] :fields {:conditions {:type '(lis...
null
https://raw.githubusercontent.com/clingen-data-model/genegraph/fec5a66898b49508e1b76a1e8b95ba3dab45628a/src/genegraph/source/graphql/schema/segregation.clj
clojure
(ns genegraph.source.graphql.schema.segregation (:require [genegraph.database.query :as q])) (def segregation {:name :Segregation :graphql-type :object :description "Evidence describing phenotype/genotype segregation in the context of a family." :implements [:Resource] :fields {:conditions {:type '(lis...
9e59004c2e2038456fb9a7a89440a0f8228830fae74ec86d94dd7d2304dc2457
camlspotter/ocamloscope.2
t13_functor_app.ml
module Make(A: sig type t val x : t end) = struct include A type u = A.t let y = A.x end module B = struct type t = Foo let x = Foo end module X = Make(B) module Y = Make(struct type t = bool let x = true end)
null
https://raw.githubusercontent.com/camlspotter/ocamloscope.2/49b5977a283cdd373021d41cb3620222351a2efe/tests/t13_functor_app.ml
ocaml
module Make(A: sig type t val x : t end) = struct include A type u = A.t let y = A.x end module B = struct type t = Foo let x = Foo end module X = Make(B) module Y = Make(struct type t = bool let x = true end)
8da0e95e4a80a6403922dea42fae813a1c9cf87964d717ad62f735960ee4a8b7
rmloveland/scheme48-0.53
rts-packages.scm
Copyright ( c ) 1993 - 1999 by and . See file COPYING . (define-structures ((scheme-level-1 scheme-level-1-interface) (util util-interface)) (open scheme-level-0 ascii signals) (usual-transforms case quasiquote syntax-rules) (files (rts base) (rts util) (rts number) (rts lize)) ; Rationalize...
null
https://raw.githubusercontent.com/rmloveland/scheme48-0.53/1ae4531fac7150bd2af42d124da9b50dd1b89ec1/scheme/rts-packages.scm
scheme
Rationalize "Level 2" The external code needs this to check the types of records. unspecific &disclose :input-port :output-port {en|dis}able-interrupts! number->string for debugging wrong-number-of-args stuff report-errors-as-warnings error, call-error for error messages report-errors-as-warnings add-final...
Copyright ( c ) 1993 - 1999 by and . See file COPYING . (define-structures ((scheme-level-1 scheme-level-1-interface) (util util-interface)) (open scheme-level-0 ascii signals) (usual-transforms case quasiquote syntax-rules) (files (rts base) (rts util) (rts number) (optimize auto-integrate)) ...
03373252bdbbfcc5f9e9f702b292306034fb95cc6aeb59fc6612e3ce79b37b86
openmusic-project/OMChroma
load-classes.lisp
; OMChroma High - level control of sound synthesis in OM ; ;This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation ; either version 2 ;of the License, or (at your option) any later version. ; ;See file LICE...
null
https://raw.githubusercontent.com/openmusic-project/OMChroma/5ded34f22b59a1a93ea7b87e182c9dbdfa95e047/sources/omsharp/cs-events/load-classes.lisp
lisp
OMChroma This program is free software; you can redistribute it and/or either version 2 of the License, or (at your option) any later version. See file LICENSE for further informations on licensing terms. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the imp...
High - level control of sound synthesis in OM modify it under the terms of the GNU General Public License You should have received a copy of the GNU General Public License Foundation , Inc. , 59 Temple Place - Suite 330 , Boston , MA 02111 - 1307,10 USA . ( c ) Ircam 2000 - 2017 Authors : , , , (in-pack...
ac63f19d8d2da4a9690dcfbd9cc5b16cbdd6943e4ff1309cb6c2653e69c7f2e8
SimulaVR/godot-haskell
Godot.hs
module Godot ( module M ) where import Godot.Api as M hiding (NativeScript) -- Has all Godot classes import Godot.Nativescript as M import Godot.Internal.Dispatch as M ( (:<) -- For generic ...
null
https://raw.githubusercontent.com/SimulaVR/godot-haskell/e8f2c45f1b9cc2f0586ebdc9ec6002c8c2d384ae/src/Godot.hs
haskell
Has all Godot classes For generic functions Required for creating Godot classes Needed for up-casting objects Better to export these now than to inevitably have the user dig through the whole library in search of them. These will always be needed when writing Godot class methods These are needed in order to k...
module Godot ( module M ) where import Godot.Nativescript as M import Godot.Internal.Dispatch as M , HasBaseClass(..) , upcast ...
f2c110b075c84b2e334caa808e689bf146ad31255672b057e95eb1f859fea8b7
slyrus/mcclim-old
truetype-package.lisp
(cl:defpackage :mcclim-truetype (:use :climi :clim :clim-lisp) (:export :*truetype-font-path* :*family-names* :*fontconfig-faces* :truetype-device-font-name :fontconfig-font-name :make-truetype-device-font-name :make-fontconfig-font-name ...
null
https://raw.githubusercontent.com/slyrus/mcclim-old/354cdf73c1a4c70e619ccd7d390cb2f416b21c1a/Experimental/freetype/truetype-package.lisp
lisp
Hmm. Replaced by import/use-package in freetype-fonts-alien and freetype-fonts-cffi, so that I can load with either alien
(cl:defpackage :mcclim-truetype (:use :climi :clim :clim-lisp) (:export :*truetype-font-path* :*family-names* :*fontconfig-faces* :truetype-device-font-name :fontconfig-font-name :make-truetype-device-font-name :make-fontconfig-font-name ...
c8c50fdf021a3a27113241ca92d0955b0f75ee50749f11e11ac887f1175739f9
VisionsGlobalEmpowerment/webchange
index.cljs
(ns webchange.utils.audio-analyzer.index (:require [webchange.utils.audio-analyzer.region-data :as rg] [webchange.utils.audio-analyzer.region-to-animation-sequence :as ras] [webchange.utils.audio-analyzer.talk-data :refer [get-chunks-for-text]] [webchange.utils.numbers :refer [to-precision]])) ;; Con...
null
https://raw.githubusercontent.com/VisionsGlobalEmpowerment/webchange/07ab8bb00cf8fee60cbcf1ac1519e3409a7b681e/src/cljs/webchange/utils/audio_analyzer/index.cljs
clojure
Conditions Methods
(ns webchange.utils.audio-analyzer.index (:require [webchange.utils.audio-analyzer.region-data :as rg] [webchange.utils.audio-analyzer.region-to-animation-sequence :as ras] [webchange.utils.audio-analyzer.talk-data :refer [get-chunks-for-text]] [webchange.utils.numbers :refer [to-precision]])) (defn...
1025504b94db5959ac3f71400a3a3e71bdd6a8e24e5d75fdeacea680d2c6570e
seriyps/eplaypen
playpen_sup.erl
@author < > ( C ) 2015 , %%% @doc %%% %%% @end Created : 26 Jan 2015 by < > -module(playpen_sup). -behaviour(supervisor). -export([start_link/0]). -export([init/1]). start_link() -> supervisor:start_link({local, ?MODULE}, ?MODULE, []). init([]) -> %% Postgres pool params {ok, DbPoolOpt...
null
https://raw.githubusercontent.com/seriyps/eplaypen/51d345562a65866fdf568d907179e22e3205e96d/src/playpen_sup.erl
erlang
@doc @end Postgres pool params
@author < > ( C ) 2015 , Created : 26 Jan 2015 by < > -module(playpen_sup). -behaviour(supervisor). -export([start_link/0]). -export([init/1]). start_link() -> supervisor:start_link({local, ?MODULE}, ?MODULE, []). init([]) -> {ok, DbPoolOpts} = application:get_env(db_pool), DbPoolName ...
0920a786d8a2ee91fb9dfdfdc1805745bbd0a777560f954686f3f5e71c6f13e0
fukamachi/legion
main.lisp
(uiop:define-package #:legion (:nicknames #:legion/main) (:use #:cl) (:import-from #:legion/worker #:worker #:worker-status #:worker-queue-count #:fetch-job #:process-job #:start #:stop ...
null
https://raw.githubusercontent.com/fukamachi/legion/599cca19f0e34246814621f7fe90322221c2e263/main.lisp
lisp
(uiop:define-package #:legion (:nicknames #:legion/main) (:use #:cl) (:import-from #:legion/worker #:worker #:worker-status #:worker-queue-count #:fetch-job #:process-job #:start #:stop ...
c044d84e7de21379a95656814972b5f774340bc62ecd80c3879d2094fcfdb7b5
ocaml/odoc
type_of.mli
open Odoc_model.Lang (** The purpose of this module is to expand module type expressions of the form [module type of]. This is necessary so odoc can keep track of these expressions but mainting the semantics of the underlying OCaml. *) val signature : Env.t -> Signature.t -> Signature.t (** Expand all of t...
null
https://raw.githubusercontent.com/ocaml/odoc/2f639d7d661bc5397afce83dfaa71af53d2a8677/src/xref2/type_of.mli
ocaml
* The purpose of this module is to expand module type expressions of the form [module type of]. This is necessary so odoc can keep track of these expressions but mainting the semantics of the underlying OCaml. * Expand all of the [module type of] expressions within the given signature
open Odoc_model.Lang val signature : Env.t -> Signature.t -> Signature.t
b34e7df3f4287021c73cdcc3c5b6126239cca30847b5d39273fe2c8f5589aa3a
arttuka/reagent-material-ui
handshake_sharp.cljs
(ns reagent-mui.icons.handshake-sharp "Imports @mui/icons-material/HandshakeSharp as a Reagent component." (:require-macros [reagent-mui.util :refer [create-svg-icon e]]) (:require [react :as react] ["@mui/material/SvgIcon" :as SvgIcon] [reagent-mui.util])) (def handshake-sharp (create-sv...
null
https://raw.githubusercontent.com/arttuka/reagent-material-ui/c7cd0d7c661ab9df5b0aed0213a6653a9a3f28ea/src/icons/reagent_mui/icons/handshake_sharp.cljs
clojure
(ns reagent-mui.icons.handshake-sharp "Imports @mui/icons-material/HandshakeSharp as a Reagent component." (:require-macros [reagent-mui.util :refer [create-svg-icon e]]) (:require [react :as react] ["@mui/material/SvgIcon" :as SvgIcon] [reagent-mui.util])) (def handshake-sharp (create-sv...
5ae59d72463553ca9ec3d9d9fe69ad702237f8251e8adcf0798b939b4508748c
thheller/shadow-experiments
interpreted.cljs
(ns shadow.experiments.arborist.interpreted "EXTREMELY SLOW! DO NOT USE!" (:require [shadow.experiments.arborist.fragments :as frag] [shadow.experiments.arborist.attributes :as a] [shadow.experiments.arborist.protocols :as p] [clojure.string :as str] [shadow.experiments.arborist.common :as commo...
null
https://raw.githubusercontent.com/thheller/shadow-experiments/a2170c2214778b6b9a9253166383396d64d395a4/src/main/shadow/experiments/arborist/interpreted.cljs
clojure
only compare identical? to allow skipping some diffs must not call = since something is likely different but that might be deeply nested leading to a lot of wasted comparisons update previous children append if there were more children append if there were more children FIXME: don't blindly assume callable, chec...
(ns shadow.experiments.arborist.interpreted "EXTREMELY SLOW! DO NOT USE!" (:require [shadow.experiments.arborist.fragments :as frag] [shadow.experiments.arborist.attributes :as a] [shadow.experiments.arborist.protocols :as p] [clojure.string :as str] [shadow.experiments.arborist.common :as commo...
47f5bf3087965601268fe619c8f08242bed0f1820bcc784f652072bd87595000
dbuenzli/fut
fut_backend_base.ml
--------------------------------------------------------------------------- Copyright ( c ) 2014 . All rights reserved . Distributed under the ISC license , see terms at the end of the file . % % NAME%% % % --------------------------------------------------------------------------- Copyright (c) ...
null
https://raw.githubusercontent.com/dbuenzli/fut/907de63df12815f2df2cb796baa7fa37ac2758d4/src/fut_backend_base.ml
ocaml
Exception trap Grrrr... The trap itself raised ! Report it to the trap. Avoid inifinite loops.xs Misc Backend interface
--------------------------------------------------------------------------- Copyright ( c ) 2014 . All rights reserved . Distributed under the ISC license , see terms at the end of the file . % % NAME%% % % --------------------------------------------------------------------------- Copyright (c) ...
b7716cd9edc31dde2cafb42cfb8fffc0f4b6e882ecab9eb030eb0e96e18d926b
BranchTaken/Hemlock
test_real.ml
open! Basis.Rudiments open! Basis open! Hmc open! ScanTest let test () = Zero . scan_str "0."; scan_str "0.0"; scan_str "00.0"; scan_str "00.00"; scan_str "0e0"; scan_str "0e-0"; scan_str "0e+0"; scan_str "0e00"; (* Suffixes. *) scan_str "0r"; scan_str "0r64"; scan_str "0r32"; (* e manti...
null
https://raw.githubusercontent.com/BranchTaken/Hemlock/32a1c18af4a55b82b4f6a4db78a756e67ef5acae/bootstrap/test/hmc/scan/test_real.ml
ocaml
Suffixes. e mantissa forms. p mantissa forms. Base-specific digits. Min/max constants. Underscores. Miscellaneous. ********************************************************************************************** Missing components. Type suffix. Decimal p mantissa forms. Non-decimal e mantissa forms. ...
open! Basis.Rudiments open! Basis open! Hmc open! ScanTest let test () = Zero . scan_str "0."; scan_str "0.0"; scan_str "00.0"; scan_str "00.00"; scan_str "0e0"; scan_str "0e-0"; scan_str "0e+0"; scan_str "0e00"; scan_str "0r"; scan_str "0r64"; scan_str "0r32"; scan_str "0e0"; scan_str "...
79c6d877257eb849d9777713122216d34f3f264b3dce4f1fbf5ec030f3474464
malcolmreynolds/GSLL
gegenbauer.lisp
Regression test GEGENBAUER for GSLL , automatically generated (in-package :gsl) (LISP-UNIT:DEFINE-TEST GEGENBAUER (LISP-UNIT::ASSERT-NUMERICAL-EQUAL (LIST 6.0d0 5.329070518200751d-15) (MULTIPLE-VALUE-LIST (GEGENBAUER-1 1.0d0 3.0d0))) ...
null
https://raw.githubusercontent.com/malcolmreynolds/GSLL/2f722f12f1d08e1b9550a46e2a22adba8e1e52c4/tests/gegenbauer.lisp
lisp
Regression test GEGENBAUER for GSLL , automatically generated (in-package :gsl) (LISP-UNIT:DEFINE-TEST GEGENBAUER (LISP-UNIT::ASSERT-NUMERICAL-EQUAL (LIST 6.0d0 5.329070518200751d-15) (MULTIPLE-VALUE-LIST (GEGENBAUER-1 1.0d0 3.0d0))) ...
0081091a892bf12ce3e2eb72d00066c8ff27dd9dc4d4ec6614fba6bcf59cf3a0
gelisam/objc2java
Extra.hs
-- | Higher-level isomorphisms. module Control.Isomorphism.Partial.Derived.Extra where import Prelude (Eq (..), Int, Maybe (..), Num (..), const) import Control.Category (id, (.)) import Control.Isomorphism.Partial import Control.Isomorphism.Partial.Unsafe (Iso (..)) import Data.Either (Either) import Text.Syntax.Cla...
null
https://raw.githubusercontent.com/gelisam/objc2java/1fb19b3b46c1aed9a099a48911c104848baf12b9/src/Control/Isomorphism/Partial/Derived/Extra.hs
haskell
| Higher-level isomorphisms. True Just [(1,'1'),(2,'2'),(3,'3')] Nothing | Invertible @splitAt@, where the inverse is of course concatenation. True True
module Control.Isomorphism.Partial.Derived.Extra where import Prelude (Eq (..), Int, Maybe (..), Num (..), const) import Control.Category (id, (.)) import Control.Isomorphism.Partial import Control.Isomorphism.Partial.Unsafe (Iso (..)) import Data.Either (Either) import Text.Syntax.Classes (Alternative (..)) import ...
734c789b56d9a4cdbf62471281a98bf8d0c1c0410a2d376e78289222807c0759
ros/roslisp_common
writer.lisp
Copyright ( c ) 2014 , < > ;;; All rights reserved. ;;; ;;; Redistribution and use in source and binary forms, with or without ;;; modification, are permitted provided that the following conditions are met: ;;; ;;; * Redistributions of source code must retain the above copyright ;;; notice, this list of conditions...
null
https://raw.githubusercontent.com/ros/roslisp_common/4db311da26497d84a147f190200e50c7a5b4106e/cl_urdf/src/writer.lisp
lisp
All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in ...
Copyright ( c ) 2014 , < > * Neither the name of the Institute for Artificial Intelligence/ Universitaet Bremen nor the names of its contributors may be used to THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS " AS IS " IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR P...
2763466837287da7bb7801e6326c3965cd9f6e90ef61fe63b9fd6d7908974311
audreyt/openafp
MOR.hs
module OpenAFP.Records.T.MOR where import OpenAFP.Types import OpenAFP.Internals data T_MOR = T_MOR { t_mor_Type :: !N1 ,t_mor :: !NStr } deriving (Show, Typeable)
null
https://raw.githubusercontent.com/audreyt/openafp/178e0dd427479ac7b8b461e05c263e52dd614b73/src/OpenAFP/Records/T/MOR.hs
haskell
module OpenAFP.Records.T.MOR where import OpenAFP.Types import OpenAFP.Internals data T_MOR = T_MOR { t_mor_Type :: !N1 ,t_mor :: !NStr } deriving (Show, Typeable)
09b01eaf6ecaf81d59af960855b629546ab696f4c3ab3c9895409a6369d639b8
8c6794b6/guile-tjit
scm-style-repl.scm
Copyright ( C ) 1995,1996,1997,1998,1999,2000,2001,2002,2003,2004,2005,2006,2007,2008,2009,2010,2014 Free Software Foundation , Inc. ;;;; ;;;; This library is free software; you can redistribute it and/or ;;;; modify it under the terms of the GNU Lesser General Public License as published by the Free Software Fou...
null
https://raw.githubusercontent.com/8c6794b6/guile-tjit/9566e480af2ff695e524984992626426f393414f/module/ice-9/scm-style-repl.scm
scheme
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public either This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Se...
Copyright ( C ) 1995,1996,1997,1998,1999,2000,2001,2002,2003,2004,2005,2006,2007,2008,2009,2010,2014 Free Software Foundation , Inc. version 3 of the License , or ( at your option ) any later version . You should have received a copy of the GNU Lesser General Public Foundation , Inc. , 51 Franklin Street , Fi...
309b244d5b8da549c040e8b61c2ccff5ba2e496eea68fa3198307dbc930d68bc
haskell-works/hw-koans
Alternative.hs
# LANGUAGE TemplateHaskell # module Check.Alternative where import Hedgehog import Hedgehog.Extra import qualified Hedgehog.Gen as G import qualified Hedgehog.Range as R import qualified Koan.Applicative as K HLINT ignore " Redundant do " prop_simple :: Property prop_simple = property $ do True =...
null
https://raw.githubusercontent.com/haskell-works/hw-koans/a807e72513d91ddf1c8aa445371b94bb169f22fd/test/Check/Alternative.hs
haskell
# LANGUAGE TemplateHaskell # module Check.Alternative where import Hedgehog import Hedgehog.Extra import qualified Hedgehog.Gen as G import qualified Hedgehog.Range as R import qualified Koan.Applicative as K HLINT ignore " Redundant do " prop_simple :: Property prop_simple = property $ do True =...
144a87d366137ceeadb8c2ccca3616c8caa16a252c07f7845f78aa053653c8c4
basho-labs/wriaki
static_resource.erl
%% ------------------------------------------------------------------- %% Copyright ( c ) 2009 - 2010 Basho Technologies , Inc. All Rights Reserved . %% This file is provided to you under the Apache License , %% Version 2.0 (the "License"); you may not use this file except in compliance with the License . You...
null
https://raw.githubusercontent.com/basho-labs/wriaki/cd437737fda7f47cbbb27fab4ec86d0e7c0ff57d/apps/wriaki/src/static_resource.erl
erlang
------------------------------------------------------------------- Version 2.0 (the "License"); you may not use this file a copy of the License at -2.0 Unless required by applicable law or agreed to in writing, KIND, either express or implied. See the License for the specific language governing permissio...
Copyright ( c ) 2009 - 2010 Basho Technologies , Inc. All Rights Reserved . This file is provided to you under the Apache License , except in compliance with the License . You may obtain software distributed under the License is distributed on an " AS IS " BASIS , WITHOUT WARRANTIES OR CONDITIONS OF ANY ...
ce4bebee92c9f45091e591a58b3cb0a7968a0e312cbce081c24b31c21aad536d
SimulaVR/godot-haskell
Rss_reader.hs
| This file is AUTOGENERATED by godot - haskell - project - generator . DO NOT EDIT # LANGUAGE FlexibleContexts , FunctionalDependencies , MultiParamTypeClasses , UndecidableInstances , OverloadedStrings , TemplateHaskell , TypeApplications , TypeFamilies , DataKinds , TypeOperators , FlexibleInstances , Ran...
null
https://raw.githubusercontent.com/SimulaVR/godot-haskell/e8f2c45f1b9cc2f0586ebdc9ec6002c8c2d384ae/examples/rss-reader/src/Project/Scenes/Rss_reader.hs
haskell
| This file is AUTOGENERATED by godot - haskell - project - generator . DO NOT EDIT # LANGUAGE FlexibleContexts , FunctionalDependencies , MultiParamTypeClasses , UndecidableInstances , OverloadedStrings , TemplateHaskell , TypeApplications , TypeFamilies , DataKinds , TypeOperators , FlexibleInstances , Ran...
1013c0b12d84f7aac8593d360ace215b78308f30662045cb1c0d7cdcf3e09505
hemmi/coq2scala
tok.mli
(************************************************************************) v * The Coq Proof Assistant / The Coq Development Team < O _ _ _ , , * INRIA - CNRS - LIX - LRI - PPS - Copyright 1999 - 2012 \VV/ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *...
null
https://raw.githubusercontent.com/hemmi/coq2scala/d10f441c18146933a99bf2088116bd213ac3648d/coq-8.4pl2-old/parsing/tok.mli
ocaml
********************************************************************** // * This file is distributed under the terms of the * GNU Lesser General Public License Version 2.1 **********************************************************************
v * The Coq Proof Assistant / The Coq Development Team < O _ _ _ , , * INRIA - CNRS - LIX - LRI - PPS - Copyright 1999 - 2012 \VV/ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * The type of token for the C...
a71acb46729d48034b76136986c5172023553504500df84f97edcc879d802459
pablomarx/Thomas
runtime-collections-generic1.scm
* Copyright 1992 Digital Equipment Corporation ;* All Rights Reserved ;* ;* Permission to use, copy, and modify this software and its documentation is ;* hereby granted only under the following terms and conditions. Both the ;* above copyright notice and this permission notice mus...
null
https://raw.githubusercontent.com/pablomarx/Thomas/c8ab3f6fa92a9a39667fe37dfe060b651affb18e/src/runtime-collections-generic1.scm
scheme
* All Rights Reserved * * Permission to use, copy, and modify this software and its documentation is * hereby granted only under the following terms and conditions. Both the * above copyright notice and this permission notice must appear in all copies * of the software, derivative works or modi...
* Copyright 1992 Digital Equipment Corporation * and hereby grant back to Digital a non - exclusive , unrestricted , royalty - free * their best efforts to return to Digital any such changes , enhancements or * extensions that they make and inform Digital of noteworthy uses of this * software . Correspo...
0407af1b4157f63e3970b5b101270cc75bc9bfebeece6929b7200286e2cc2ce8
roglo/mlrogue
main.ml
$ I d : main.ml , v 1.197 2020/06/11 00:07:40 deraugla Exp $ #load "pa_more.cmo"; #use "rogue.def"; #use "keyboard.def"; open Rogue; open Rfield; open Dialogue; open Imisc; open Misc; open Object; open Printf; open Translate; value version = "1.05-exp"; value string_make = Bytes.make; value string_get = Bytes.ge...
null
https://raw.githubusercontent.com/roglo/mlrogue/b73238bbbc8cd88c83579c3b72772a8c418020e5/main.ml
ocaml
prevent to throw by mistake protected used armors ... ... ...
$ I d : main.ml , v 1.197 2020/06/11 00:07:40 deraugla Exp $ #load "pa_more.cmo"; #use "rogue.def"; #use "keyboard.def"; open Rogue; open Rfield; open Dialogue; open Imisc; open Misc; open Object; open Printf; open Translate; value version = "1.05-exp"; value string_make = Bytes.make; value string_get = Bytes.ge...
57c64d4330fb7d057fd3fb4ea92b2ca9ab44f6ad8dba370371845ab42fde12f1
rudymatela/speculate
Engine.hs
-- | -- Module : Test.Speculate.Engine Copyright : ( c ) 2016 - 2019 License : 3 - Clause BSD ( see the file LICENSE ) Maintainer : < > -- -- This module is part of Speculate. -- Main engine to process data . module Test.Speculate.Engine ( expansions , expansionsOfType , expansionsWi...
null
https://raw.githubusercontent.com/rudymatela/speculate/d85703ae3de952484d0e9d963ba9bb53371245d7/src/Test/Speculate/Engine.hs
haskell
| Module : Test.Speculate.Engine This module is part of Speculate. ---------------------------- * Manipulating expressions | List all variable assignments for a given type and list of variables. possible variables? | List all variable assignments for a given number of variables. It only assign variable...
Copyright : ( c ) 2016 - 2019 License : 3 - Clause BSD ( see the file LICENSE ) Maintainer : < > Main engine to process data . module Test.Speculate.Engine ( expansions , expansionsOfType , expansionsWith , theoryAndRepresentativesFromAtoms , representativesFromAtoms , theoryFromAt...
9c86444ea790939293a10a7036019f393dd0ecca6a0ce616cea6af614ccd2dad
lpw25/ocaml-typed-effects
format.ml
(***********************************************************************) (* *) (* OCaml *) (* *) , projet ...
null
https://raw.githubusercontent.com/lpw25/ocaml-typed-effects/79ea08b285c1fd9caf3f5a4d2aa112877f882bea/stdlib/format.ml
ocaml
********************************************************************* OCaml ...
, projet Cristal , INRIA Rocquencourt Copyright 1996 Institut National de Recherche en Informatique et en Automatique . All rights reserved . This file is distributed under the terms of the GNU Library General Public License , with type size;; external size_of_int : ...
3c37b5a510123d50649b4da693c342f3973b371fdfb79377a6f7e18e1f43cb1e
bugarela/GADTInference
e6.hs
data T a where {TInt :: (a ~ Int) => a -> T a; TBool :: (a ~ Bool) => a -> T a} e = \z -> case z of {(TInt n, y, f) -> f n; (TBool b, y, f) -> f y} ghc does not infer -- see annotated/e6.hs
null
https://raw.githubusercontent.com/bugarela/GADTInference/dd179f6df2cd76055c25c33da3187a60815688d1/examples/notInferred/e6.hs
haskell
see annotated/e6.hs
data T a where {TInt :: (a ~ Int) => a -> T a; TBool :: (a ~ Bool) => a -> T a} e = \z -> case z of {(TInt n, y, f) -> f n; (TBool b, y, f) -> f y} ghc does not infer
3d2a2800593eda7f55db4f8c21fb46acc4c7f66998c724b77dca5b84633659fc
jiangpengnju/htdp2e
ex41.rkt
The first three lines of this file were inserted by . They record metadata ;; about the language level of this file in a form that our tools can easily process. #reader(lib "htdp-beginner-reader.ss" "lang")((modname ex41) (read-case-sensitive #t) (teachpacks ()) (htdp-settings #(#t constructor repeating-decimal #f #...
null
https://raw.githubusercontent.com/jiangpengnju/htdp2e/d41555519fbb378330f75c88141f72b00a9ab1d3/fixed-size-data/how-to-design-programs/ex41.rkt
racket
about the language level of this file in a form that our tools can easily process. Good programmers ensure that an image such as CAR can be enlarged or reduced via a single change to a constant definition. We started the development of our car image with a single plain definition The definition of WHEEL-DISTANCE i...
The first three lines of this file were inserted by . They record metadata #reader(lib "htdp-beginner-reader.ss" "lang")((modname ex41) (read-case-sensitive #t) (teachpacks ()) (htdp-settings #(#t constructor repeating-decimal #f #t none #f () #f))) ( define ( WHEEL - RADIUS 5 ) ) WHEEL - RADIUS from 5 to 10 d...
c9340661922952e74a60b6d31be76bceb0e5c29c931cf71211b713f8f317f835
biocaml/biocaml
bam.ml
open CFStream module Bam = Biocaml_unix.Bam module Sam = Biocaml_unix.Sam open OUnit let assert_equal ?msg ?printer ?cmp x y = let printer = Option.map printer ~f:(fun p x -> Sexp.to_string_hum (p x)) in assert_equal ?msg ?cmp ?printer x y let assert_headers h1 h2 = let h1, h2 = (Bam.Header.to_sam h1, Bam.Heade...
null
https://raw.githubusercontent.com/biocaml/biocaml/ac619539fed348747d686b8f628e80c1bb8bfc59/lib/test/bam.ml
ocaml
open CFStream module Bam = Biocaml_unix.Bam module Sam = Biocaml_unix.Sam open OUnit let assert_equal ?msg ?printer ?cmp x y = let printer = Option.map printer ~f:(fun p x -> Sexp.to_string_hum (p x)) in assert_equal ?msg ?cmp ?printer x y let assert_headers h1 h2 = let h1, h2 = (Bam.Header.to_sam h1, Bam.Heade...
bbe560590d2fde1b72a8413e017e22649fae60ddfd27d33728f709659c5d732b
hemmi/coq2scala
subtac_obligations.ml
open Printf open Pp open Subtac_utils open Command open Environ open Term open Names open Libnames open Summary open Libobject open Entries open Decl_kinds open Util open Evd open Declare open Proof_type open Compat let ppwarn cmd = Pp.warn (str"Program:" ++ cmd) let pperror cmd = Util.errorlabstrm "Program" cmd let ...
null
https://raw.githubusercontent.com/hemmi/coq2scala/d10f441c18146933a99bf2088116bd213ac3648d/coq-8.4pl2/plugins/subtac/subtac_obligations.ml
ocaml
true = All transparent, false = Opaque if possible true = hide obligations prod_appvect T [| a1 ; ... ; an |] -> (T a1 ... an) * Beware: if this code is dynamically loaded via dynlink after the start of Coq, then this [init] function will not be run by [Lib.init ()]. Luckily, here we can launch [init] at ...
open Printf open Pp open Subtac_utils open Command open Environ open Term open Names open Libnames open Summary open Libobject open Entries open Decl_kinds open Util open Evd open Declare open Proof_type open Compat let ppwarn cmd = Pp.warn (str"Program:" ++ cmd) let pperror cmd = Util.errorlabstrm "Program" cmd let ...
44a01a80305c6274569b82b7737d2a679a9da496002f67fd0fced08dc2658bc6
schemedoc/implementation-metadata
vlisp.scm
(title "VLISP") (tagline "a verified implementation of Scheme")
null
https://raw.githubusercontent.com/schemedoc/implementation-metadata/6280d9c4c73833dc5bd1c9bef9b45be6ea5beb68/schemes/vlisp.scm
scheme
(title "VLISP") (tagline "a verified implementation of Scheme")
75a850110e35a4371fa26067dc3718fd081c10c9d1f48199685407ff71d85558
fiigii/gomoku-CommonLisp
app.lisp
(ql:quickload :gomoku) (defpackage gomoku.app (:use :cl) (:import-from :clack :call) (:import-from :clack.builder :builder) (:import-from :clack.middleware.static :<clack-middleware-static>) (:import-from :clack.middleware.session :<clack-middle...
null
https://raw.githubusercontent.com/fiigii/gomoku-CommonLisp/e89af746feb1a51c5e569d7a6befea100391b16b/app.lisp
lisp
(ql:quickload :gomoku) (defpackage gomoku.app (:use :cl) (:import-from :clack :call) (:import-from :clack.builder :builder) (:import-from :clack.middleware.static :<clack-middleware-static>) (:import-from :clack.middleware.session :<clack-middle...
5e43ccb8bce01b804cd762190fb9c449e51bfc3949afda3a7eb38826b5a0cec5
flyingmachine/datomic-junk
datomic_junk_test.clj
(ns com.flyingmachine.datomic-junk-test (:require [com.flyingmachine.datomic-junk :refer :all] [com.flyingmachine.datomic-junk.test-helper :as th] [datomic.api :as d]) (:use midje.sweet)) (th/reload) (let [conn (th/conn) db (d/db conn)] (facts "about ent" (fact "ent returns ni...
null
https://raw.githubusercontent.com/flyingmachine/datomic-junk/c5688686cd1a9f4b181e9ffc2478b913f578f347/test/com/flyingmachine/datomic_junk_test.clj
clojure
(ns com.flyingmachine.datomic-junk-test (:require [com.flyingmachine.datomic-junk :refer :all] [com.flyingmachine.datomic-junk.test-helper :as th] [datomic.api :as d]) (:use midje.sweet)) (th/reload) (let [conn (th/conn) db (d/db conn)] (facts "about ent" (fact "ent returns ni...
20fcdcf47d424102c86c5fa13d1f981a769d43100f144e88b1a6b1bef8f99bbb
mrnugget/scheme_x86
compiler.scm
(define compile-port (make-parameter (current-output-port) (lambda (p) (unless (output-port? p) (error 'compile-port (format "Not an output port ~s." p))) p))) (define (emit . args) (let ([line-format (string-append "\t" (car args))] [rest (cdr args)]) (apply fprintf (compile-por...
null
https://raw.githubusercontent.com/mrnugget/scheme_x86/2a02cde1e482bc4be73ad460c97d643a4ea0e2e0/src/compiler.scm
scheme
store cdr store car save pointer and tag it, then increment heap ptr Store length at beginning of next memory slot Add 7+4 to length in %ecx then bitwise-AND it with -8 skip `length` Move pointer from ~a(%esp) to %ecx Move byte from last byte of %eax to location pointed to by %ecx skip `length` Store length ...
(define compile-port (make-parameter (current-output-port) (lambda (p) (unless (output-port? p) (error 'compile-port (format "Not an output port ~s." p))) p))) (define (emit . args) (let ([line-format (string-append "\t" (car args))] [rest (cdr args)]) (apply fprintf (compile-por...
5a3c309dc65f3f0121b7fc74507bd3aa896d99c30dff8fce6832b37835d2c576
SquidDev/illuaminate
lsp_code_action.ml
open Lsp_test open Lsp.Types let code_actions t ~uri range = request t (CodeAction { textDocument = { uri }; range; context = { diagnostics = []; only = None } }) let tests = Omnomnom.Tests.group "Code actions" [ test ~name:"Linter errors have a code action" (fun t -> let uri = open_file t "pare...
null
https://raw.githubusercontent.com/SquidDev/illuaminate/06a499ba9ac51b605249add0ab2987d1868f8836/test/lsp_code_action.ml
ocaml
open Lsp_test open Lsp.Types let code_actions t ~uri range = request t (CodeAction { textDocument = { uri }; range; context = { diagnostics = []; only = None } }) let tests = Omnomnom.Tests.group "Code actions" [ test ~name:"Linter errors have a code action" (fun t -> let uri = open_file t "pare...
7b59dbdf20597df6d36471cc12cf71a57e268c2240585a9fc9388ac8fcb4eac7
tisnik/clojure-examples
project.clj
; ( C ) Copyright 2015 , 2020 ; ; All rights reserved. This program and the accompanying materials ; are made available under the terms of the Eclipse Public License v1.0 ; which accompanies this distribution, and is available at -v10.html ; ; Contributors: ; (defproject factorial3 "0.1.0-SNAPSH...
null
https://raw.githubusercontent.com/tisnik/clojure-examples/78061b533c0755d0165002961334bbe98d994087/factorial3/project.clj
clojure
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at Contributors:
( C ) Copyright 2015 , 2020 -v10.html (defproject factorial3 "0.1.0-SNAPSHOT" :description "FIXME: write description" :url "" :license {:name "Eclipse Public License" :url "-v10.html"} :dependencies [[org.clojure/clojure "1.10.1"] [expectations "2.0.9"]] :plugi...
03c5bbf7862ec64e8074a243ec8610902af9dce4d2737cd8904e48c6fd791543
konn/sized
Internal.hs
# LANGUAGE CPP , ConstraintKinds , DataKinds , DeriveDataTypeable # # LANGUAGE DeriveFunctor , DeriveTraversable , DerivingStrategies # # LANGUAGE ExplicitNamespaces , FlexibleContexts , FlexibleInstances # # LANGUAGE GeneralizedNewtypeDeriving , KindSignatures # # LANGUA...
null
https://raw.githubusercontent.com/konn/sized/109638db3f37519bb38bd74ccbbb5f9ee1611336/src/Data/Sized/Internal.hs
haskell
| @Sized@ wraps a sequential type 'f' and makes length-parametrized version. # OVERLAPPABLE # # OVERLAPPING # # OVERLAPPING # | Since 0.4.0.0 # OVERLAPPABLE # # INLINE ifoldl' #
# LANGUAGE CPP , ConstraintKinds , DataKinds , DeriveDataTypeable # # LANGUAGE DeriveFunctor , DeriveTraversable , DerivingStrategies # # LANGUAGE ExplicitNamespaces , FlexibleContexts , FlexibleInstances # # LANGUAGE GeneralizedNewtypeDeriving , KindSignatures # # LANGUA...
f213b2e107b9c03d513d9451e0ae179feb702b868bb7a762e972fa7af7b9b5a3
erlware/resource_discovery
rd_core.erl
%%%------------------------------------------------------------------- @author 2008 %%% @doc %%% Cache and distribute resources. %%% @end %%%------------------------------------------------------------------- -module(rd_core). -behaviour(gen_server). %% API -export([ start_link/0, sync_resources/2, tr...
null
https://raw.githubusercontent.com/erlware/resource_discovery/9460c5447f7f3209e01fd33b5239d3c361a2f5e7/src/rd_core.erl
erlang
------------------------------------------------------------------- @doc Cache and distribute resources. @end ------------------------------------------------------------------- API Fetch Store Delete gen_server callbacks =================================================================== API ===============...
@author 2008 -module(rd_core). -behaviour(gen_server). -export([ start_link/0, sync_resources/2, trade_resources/0, filter_resource_tuples_by_types/2, make_callbacks/1 ]). -export([ round_robin_get/1, all_of_type_get/1, get_resource_types/0, get_num_resource_types/0, get_num_resource/1, ...
cf2db04a43a69a31f2dc7df55dd756532d813fab21a0719ee11c7286cce82f42
technomancy/leiningen
eval.clj
(ns leiningen.core.test.eval (:require [clojure.test :refer :all] [leiningen.core.eval :refer :all] [clojure.java.io :as io] [clojure.set :as set] [leiningen.core.classpath :as classpath] [leiningen.test.helper :as lthelper] [leiningen.core.proje...
null
https://raw.githubusercontent.com/technomancy/leiningen/24fb93936133bd7fc30c393c127e9e69bb5f2392/leiningen-core/test/leiningen/core/test/eval.clj
clojure
Mock get-proxy-settings to return test values
(ns leiningen.core.test.eval (:require [clojure.test :refer :all] [leiningen.core.eval :refer :all] [clojure.java.io :as io] [clojure.set :as set] [leiningen.core.classpath :as classpath] [leiningen.test.helper :as lthelper] [leiningen.core.proje...
0027c9091c7495630e51778b4f4155b46d539ad458126521942537a0b6cdbc68
maximedenes/native-coq
glob_term.mli
(************************************************************************) v * The Coq Proof Assistant / The Coq Development Team < O _ _ _ , , * INRIA - CNRS - LIX - LRI - PPS - Copyright 1999 - 2010 \VV/ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *...
null
https://raw.githubusercontent.com/maximedenes/native-coq/3623a4d9fe95c165f02f7119c0e6564a83a9f4c9/pretyping/glob_term.mli
ocaml
********************************************************************** // * This file is distributed under the terms of the * GNU Lesser General Public License Version 2.1 ********************************************************************** *Untyped intermediate terms, after c...
v * The Coq Proof Assistant / The Coq Development Team < O _ _ _ , , * INRIA - CNRS - LIX - LRI - PPS - Copyright 1999 - 2010 \VV/ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * open Errors open Pp open Nam...
152f378c4f02900fe7644fa51bc8fa9cf475fea18f4fb8e672931aa83b72da1b
SKS-Keyserver/sks-keyserver
int_comparators.ml
(***********************************************************************) (* int_comparators.ml - rename the polymorphic comparators, then *) (* constraint the usual ones to ints *) (* *) Copyright ( C ) 2002 ,...
null
https://raw.githubusercontent.com/SKS-Keyserver/sks-keyserver/a4e5267d817cddbdfee13d07a7fb38a9b94b3eee/int_comparators.ml
ocaml
********************************************************************* int_comparators.ml - rename the polymorphic comparators, then constraint the usual ones to ints ...
Copyright ( C ) 2002 , 2003 , 2004 , 2005 , 2006 , 2007 , 2008 , 2009 , 2010 , 2011 , 2012 , 2013 and Contributors This file is part of SKS . SKS is free software ; you can Public License as published by the Free Software Foundation ; either version 2 of the License , or...
baed745c86a2602bcfeaa13da0956f2eebc10de0d82aae928ea2979c00b986fd
zwizwa/staapl
rep.rkt
#lang racket/base (require "../scat.rkt") Macros have a slightly different representation over words : ;; primitive macros contain type annotations and composite ones are ;; intensional, so types can be inferred. (provide (all-defined-out)) (require racket/pretty) (define (make-primitive-macro fn clauses) ;; (...
null
https://raw.githubusercontent.com/zwizwa/staapl/e30e6ae6ac45de7141b97ad3cebf9b5a51bcda52/coma/rep.rkt
racket
primitive macros contain type annotations and composite ones are intensional, so types can be inferred. (pretty-print clauses)
#lang racket/base (require "../scat.rkt") Macros have a slightly different representation over words : (provide (all-defined-out)) (require racket/pretty) (define (make-primitive-macro fn clauses) (make-word fn clauses))
b6fa7e7405ea598b88d1f068b6d72afcbb3d89b49cd07c0c7512ecfcf24b2e35
NorfairKing/the-notes
Terms.hs
module Logic.PropositionalLogic.Terms where import Notes makeDefs [ "Propositional logic" , "boolean value" , "implication" , "equivalence" , "valid" , "satisfiable" , "unsatisfiable" , "logically equivalent" , "conjunctive normal form" ]
null
https://raw.githubusercontent.com/NorfairKing/the-notes/ff9551b05ec3432d21dd56d43536251bf337be04/src/Logic/PropositionalLogic/Terms.hs
haskell
module Logic.PropositionalLogic.Terms where import Notes makeDefs [ "Propositional logic" , "boolean value" , "implication" , "equivalence" , "valid" , "satisfiable" , "unsatisfiable" , "logically equivalent" , "conjunctive normal form" ]
4b519a663165f1a771ae487eefc5d099a1f338d5b393587d4199f555e3e67a5d
facjure/mesh
repl.cljs
(ns repl (:require-macros [figwheel.client.utils :refer [enable-dev-blocks!]]) (:require [examples.typography.page :as typo] [examples.grids.page :as grids] [figwheel.client :as fw])) (enable-console-print!) (enable-dev-blocks!) (print "Starting Figwheel Cljs Repl ... ") (fw/start {:w...
null
https://raw.githubusercontent.com/facjure/mesh/e37887304c271bacfc017055180f56935f893682/dev/repl.cljs
clojure
(ns repl (:require-macros [figwheel.client.utils :refer [enable-dev-blocks!]]) (:require [examples.typography.page :as typo] [examples.grids.page :as grids] [figwheel.client :as fw])) (enable-console-print!) (enable-dev-blocks!) (print "Starting Figwheel Cljs Repl ... ") (fw/start {:w...
21e8fbb330a5397df4fac228ff10b56457f343e260a83fed7aac20b61ccb6d60
wdebeaum/step
defsystem.lisp
;;;; ;;;; defsystem.lisp ;;;; , , 13 Sep 2002 $ I d : , v 1.6 2021/01/18 20:43:40 wdebeaum Exp $ ;;;; (eval-when (:load-toplevel :execute) (let* ((this-directory (pathname-directory *load-pathname*))) (load (make-pathname :device (pathname-device *load-pathname*) :directory (append this-directory ...
null
https://raw.githubusercontent.com/wdebeaum/step/f38c07d9cd3a58d0e0183159d4445de9a0eafe26/src/config/lisp/defsystem/defsystem.lisp
lisp
defsystem.lisp Override default filename mappings And have to redo this snip of code that gets run when the above was loaded Very handy to set this... (default is :query)
, , 13 Sep 2002 $ I d : , v 1.6 2021/01/18 20:43:40 wdebeaum Exp $ (eval-when (:load-toplevel :execute) (let* ((this-directory (pathname-directory *load-pathname*))) (load (make-pathname :device (pathname-device *load-pathname*) :directory (append this-directory (list "defsystem-3.6i")) ...
84f3273d32b9dec90f5d70c74d236f13c2caa6ed3f4717daac6d1bd0a5e77012
DavidAlphaFox/RabbitMQ
cowboy_ssl_transport.erl
Copyright ( c ) 2011 , < > %% %% Permission to use, copy, modify, and/or distribute this software for any %% purpose with or without fee is hereby granted, provided that the above %% copyright notice and this permission notice appear in all copies. %% THE SOFTWARE IS PROVIDED " AS IS " AND THE AUTHOR DISCLAIMS A...
null
https://raw.githubusercontent.com/DavidAlphaFox/RabbitMQ/0a64e6f0464a9a4ce85c6baa52fb1c584689f49a/plugins-src/cowboy-wrapper/cowboy-git/src/cowboy_ssl_transport.erl
erlang
Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVE...
Copyright ( c ) 2011 , < > THE SOFTWARE IS PROVIDED " AS IS " AND THE AUTHOR DISCLAIMS ALL WARRANTIES ANY SPECIAL , DIRECT , INDIRECT , OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE , DATA OR PROFITS , WHETHER IN AN Wrapper around < em > ssl</em > implementing the Cowboy tr...
dee3149627e5cb5b1e771add8e7955e28c31f4a8569661563b1138b17cde3b2f
askvortsov1/nittany_market
route.mli
open Bonsai_web (* TODO: at some point in the future, this should be functorized, with variant types for the routes. *) val curr_path_novalue : unit -> string val curr_path : string Value.t val set_path : string -> unit Ui_effect.t (* Links and Components *) (* TODO: support both internal and external links. *) va...
null
https://raw.githubusercontent.com/askvortsov1/nittany_market/4ef3d51ce2742311878eacf5218dd2f611cc3b64/frontend/route.mli
ocaml
TODO: at some point in the future, this should be functorized, with variant types for the routes. Links and Components TODO: support both internal and external links.
open Bonsai_web val curr_path_novalue : unit -> string val curr_path : string Value.t val set_path : string -> unit Ui_effect.t val link_vdom : ?attrs:Vdom.Attr.t list -> ?children:Vdom.Node.t -> string -> Vdom.Node.t val link : ?attrs:Vdom.Attr.t list -> ?children:Vdom.Node.t Computation.t -> strin...
9fb9fc5c1b0bf0c8d9ef80c06fa8e8208a5cc6e8b57c008fc8ad5d68893a5efb
hzafar/pcf-interpreter
pcf-parser-tests.rkt
#lang racket (require "../convert.rkt" "../parser.rkt" "../../pcf-dynamics.rkt" rackunit rackunit/log) (define ev (compose num evaluate ast->hoas parse)) (check-equal? (parse "z") 'z) (check-equal? (parse "s(z)") '(succ z)) (check-equal? (parse "λ(x:nat) x") '(lam x x)) (check-equal? (parse "λ(x:nat) s(s(x...
null
https://raw.githubusercontent.com/hzafar/pcf-interpreter/313587b2a9b7582c894f6d9953f53cf9cc7cdd67/impl1/tests/pcf-parser-tests.rkt
racket
#lang racket (require "../convert.rkt" "../parser.rkt" "../../pcf-dynamics.rkt" rackunit rackunit/log) (define ev (compose num evaluate ast->hoas parse)) (check-equal? (parse "z") 'z) (check-equal? (parse "s(z)") '(succ z)) (check-equal? (parse "λ(x:nat) x") '(lam x x)) (check-equal? (parse "λ(x:nat) s(s(x...
b072059aeb49324904fadeab7b9e153bee73f52de6b14d5266628a0fee110adb
GaloisInc/surveyor
DebugMonitor.hs
{-# LANGUAGE GADTs #-} -- | Helpers for monitoring a symbolic execution run for debug events that need -- to be addressed module Surveyor.Core.SymbolicExecution.DebugMonitor ( debugMonitor, overrideMonitor, terminateDebugMonitor, terminateOverrideMonitor ) where import qualified Control.Concurrent.Chan as CC...
null
https://raw.githubusercontent.com/GaloisInc/surveyor/96b6748d811bc2ab9ef330307a324bd00e04819f/surveyor-core/src/Surveyor/Core/SymbolicExecution/DebugMonitor.hs
haskell
# LANGUAGE GADTs # | Helpers for monitoring a symbolic execution run for debug events that need to be addressed | Run the init-once action (if it is present) Note that it is run synchronously and thus should not block. Since we only want to run it once, a successful run of the action leaves the 'MV.MVar' empty....
module Surveyor.Core.SymbolicExecution.DebugMonitor ( debugMonitor, overrideMonitor, terminateDebugMonitor, terminateOverrideMonitor ) where import qualified Control.Concurrent.Chan as CCC import qualified Control.Concurrent.MVar as MV import qualified Surveyor.Core.Chan as SCC import qualified Surveyor.Cor...
00471e9f8976caddaa0c6697196219e989fcd1ad21baeac9219413d71c2b6c37
ndmitchell/supero
All.hs
module Core.All( module Core.Type, module Core.Read, module Core.Show, module Core.Expr ) where import Core.Type import Core.Read import Core.Show import Core.Expr
null
https://raw.githubusercontent.com/ndmitchell/supero/a8b16ea90862e2c021bb139d7a7e9a83700b43b2/supero2/Core/All.hs
haskell
module Core.All( module Core.Type, module Core.Read, module Core.Show, module Core.Expr ) where import Core.Type import Core.Read import Core.Show import Core.Expr
18d720d4db7887e770215b2bd0bcb62f9051f0c6f2f104cc14d84c4841bbea8a
ngorogiannis/cyclist
predsym.mli
open Lib include BasicType module Set : OrderedContainer with type elt = t module MSet : OrderedContainer with type elt = t module Map : OrderedMap with type key = t val parse : (t, 'a) MParser.parser val of_string : string -> t
null
https://raw.githubusercontent.com/ngorogiannis/cyclist/c93a168d586b308ab2a2c730cd1b2375ab263167/src/seplog/predsym.mli
ocaml
open Lib include BasicType module Set : OrderedContainer with type elt = t module MSet : OrderedContainer with type elt = t module Map : OrderedMap with type key = t val parse : (t, 'a) MParser.parser val of_string : string -> t
a405cdb5dfe1ffe398b0969235f44c4b84a641c87bce38ed54846a542a443b0a
ocaml-multicore/tezos
baking_files.mli
(*****************************************************************************) (* *) (* Open Source License *) Copyright ( c ) 2018 Dynamic Ledger Solutions , Inc. < > (* ...
null
https://raw.githubusercontent.com/ocaml-multicore/tezos/e4fd21a1cb02d194b3162ab42d512b7c985ee8a9/src/proto_012_Psithaca/lib_delegate/baking_files.mli
ocaml
*************************************************************************** Open Source License Permission is h...
Copyright ( c ) 2018 Dynamic Ledger Solutions , Inc. < > to deal in the Software without restriction , including without limitation and/or sell copies of the Software , and to permit persons to whom the THE SOFTWARE IS PROVIDED " AS IS " , WITHOUT WARRANTY OF ANY KIND , EXPRESS OR LIABILITY , WHETH...
f74e730193e81e9bbb4b311a0d791f05cf616a78a779204c840b727b46e26819
Decentralized-Pictures/T4L3NT
test_helpers.ml
(*****************************************************************************) (* *) (* Open Source License *) Copyright ( c ) 2021 Nomadic Labs , < > (* ...
null
https://raw.githubusercontent.com/Decentralized-Pictures/T4L3NT/6d4d3edb2d73575384282ad5a633518cba3d29e3/src/proto_alpha/lib_benchmark/test/test_helpers.ml
ocaml
*************************************************************************** Open Source License Permission is h...
Copyright ( c ) 2021 Nomadic Labs , < > to deal in the Software without restriction , including without limitation and/or sell copies of the Software , and to permit persons to whom the THE SOFTWARE IS PROVIDED " AS IS " , WITHOUT WARRANTY OF ANY KIND , EXPRESS OR LIABILITY , WHETHER IN A...
0e710978e53f1135546ca603951dbe9d33345ad9e986508d06ec99b83cfb268a
3b/cl-opengl
hello.lisp
;;;; -*- Mode: lisp; indent-tabs-mode: nil -*- hello.lisp --- Lisp version of ( Red Book examples ) ;;; ;;; Original C version contains the following copyright notice: Copyright ( c ) 1993 - 1997 , Silicon Graphics , Inc. ;;; ALL RIGHTS RESERVED ;;; This is a simple, introductory OpenGL program. ;;; Declare ...
null
https://raw.githubusercontent.com/3b/cl-opengl/e2d83e0977b7e7ac3f3d348d8ccc7ccd04e74d59/examples/redbook/hello.lisp
lisp
-*- Mode: lisp; indent-tabs-mode: nil -*- Original C version contains the following copyright notice: ALL RIGHTS RESERVED This is a simple, introductory OpenGL program. Declare initial window size, position, and display mode (single buffer and RGBA). Open window with "hello" in its title bar. display graphic...
hello.lisp --- Lisp version of ( Red Book examples ) Copyright ( c ) 1993 - 1997 , Silicon Graphics , Inc. Call initialization routines . Register callback function to (in-package #:cl-glut-examples) (defclass hello-window (glut:window) () (:default-initargs :pos-x 100 :pos-y 100 :width 250 :height 2...
637b46e2f005f26ab67f6adfcfa263ac70d9f24147f51d778fee6b40f7879aa3
ijp/guildhall
available.scm
(package (discrepancy (1)) (location ("discrepancy.zip")))
null
https://raw.githubusercontent.com/ijp/guildhall/2fe2cc539f4b811bbcd69e58738db03eb5a2b778/tests/repository/available.scm
scheme
(package (discrepancy (1)) (location ("discrepancy.zip")))
be5781cc5d98801389d10962b02970aaf02426d106220b2aeed9cab49c7bde3e
adamConnerSax/Frames-map-reduce
Maybe.hs
# LANGUAGE AllowAmbiguousTypes # {-# LANGUAGE ConstraintKinds #-} {-# LANGUAGE DataKinds #-} {-# LANGUAGE DeriveGeneric #-} {-# LANGUAGE FlexibleContexts #-} # LANGUAGE FlexibleInstances # # LANGUAGE GADTs # # LANGUAGE MultiParamTypeClasses # # LANGUAGE Overloaded...
null
https://raw.githubusercontent.com/adamConnerSax/Frames-map-reduce/4e762c9ff87d1e064912847c3591f75d0126a323/src/Frames/Aggregation/Maybe.hs
haskell
# LANGUAGE ConstraintKinds # # LANGUAGE DataKinds # # LANGUAGE DeriveGeneric # # LANGUAGE FlexibleContexts # # LANGUAGE RankNTypes # # LANGUAGE ScopedTypeVariables # # LANGUAGE TemplateHaskell # # LANGUAGE TypeOperators # * Aggregation Function combinators * a...
# LANGUAGE AllowAmbiguousTypes # # LANGUAGE FlexibleInstances # # LANGUAGE GADTs # # LANGUAGE MultiParamTypeClasses # # LANGUAGE OverloadedStrings # # LANGUAGE PolyKinds # # LANGUAGE TypeApplications # # LANGUAGE TypeFamilies # # LANGUAGE UndecidableInstances ...
0ffdc652dec49c0524900c6e30d29c1b538b8961f65bf0fed9656dceb51988d8
ml4tp/tcoq
proofview.ml
(************************************************************************) v * The Coq Proof Assistant / The Coq Development Team < O _ _ _ , , * INRIA - CNRS - LIX - LRI - PPS - Copyright 1999 - 2017 \VV/ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *...
null
https://raw.githubusercontent.com/ml4tp/tcoq/7a78c31df480fba721648f277ab0783229c8bece/engine/proofview.ml
ocaml
********************************************************************** // * This file is distributed under the terms of the * GNU Lesser General Public License Version 2.1 ********************************************************************** * This files defines the basic mecha...
v * The Coq Proof Assistant / The Coq Development Team < O _ _ _ , , * INRIA - CNRS - LIX - LRI - PPS - Copyright 1999 - 2017 \VV/ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * open Pp open Util open Proo...
8cc8803ec12dd3d69523ae57adc39af149df8a32087acc9ae39f8bbaac18007e
wereHamster/mole
Stylesheet.hs
module Data.Mole.Builder.Stylesheet where import Data.Traversable import Data.Map (Map) import qualified Data.Map as M import qualified Data.Set as S import Data.Text (Text) import qualified Data.Text as T import qualified Data.Text.Encoding as T import qualified Data.Text.IO...
null
https://raw.githubusercontent.com/wereHamster/mole/f9476a160d1e35fc720498334d292b41658f9d72/src/Data/Mole/Builder/Stylesheet.hs
haskell
module Data.Mole.Builder.Stylesheet where import Data.Traversable import Data.Map (Map) import qualified Data.Map as M import qualified Data.Set as S import Data.Text (Text) import qualified Data.Text as T import qualified Data.Text.Encoding as T import qualified Data.Text.IO...