_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
7009abd60c114a1d26b6046026a4edc726fa559c3eaf1555a01c2f6c0f7218c0
smtcoq/smtcoq
zchaff_checker.mli
(**************************************************************************) (* *) (* SMTCoq *) Copyright ( C ) 2011 - 2022 (* ...
null
https://raw.githubusercontent.com/smtcoq/smtcoq/de9c46d059ddd38c0c1922d91cb788c3d550d488/src/extraction/zchaff_checker.mli
ocaml
************************************************************************ SMTCoq ...
Copyright ( C ) 2011 - 2022 See file " " for the list of authors val checker : string -> string -> bool
eeef072f8bdc94ac84aadd33bf1e1b984ff12030f00b9d2a66c3aa5b61eeba44
avh4/elm-format
Platform.hs
module Shakefiles.Platform (Platform(..), Shakefiles.Platform.all, platform, zipFormatFor, cabalInstallOs, ciArchiveLabel, binExt) where import qualified System.Info data Platform = LinuxX86 | LinuxAarch64 | MacX86 | MacArm64 | Windows instance Show Platform where show LinuxX86 = "linux-x64"...
null
https://raw.githubusercontent.com/avh4/elm-format/b670cb9dce2601d6b90504f94e947eeaad46e05d/Shakefile/src/Shakefiles/Platform.hs
haskell
module Shakefiles.Platform (Platform(..), Shakefiles.Platform.all, platform, zipFormatFor, cabalInstallOs, ciArchiveLabel, binExt) where import qualified System.Info data Platform = LinuxX86 | LinuxAarch64 | MacX86 | MacArm64 | Windows instance Show Platform where show LinuxX86 = "linux-x64"...
b75ca5f29eb87cdd5e4d753e8c44d04cb2c0fae85d4ab84283fb19af4aef4da5
repl-acement/repl-acement
aspec.clj
(ns replacement.xform.aspec (:require [replacement.xform.defn :refer [add-code-body-start]])) (defn xform-sample-f [params+body] (let [params (first params+body) pre-post? (map? (second params+body)) pre-post (and pre-post? (second params+body)) body (if pre-post? (drop 2 params+...
null
https://raw.githubusercontent.com/repl-acement/repl-acement/649046e720d413433ce9600951dd51c6b210a91a/repl-server/replacement/xform/aspec.clj
clojure
(ns replacement.xform.aspec (:require [replacement.xform.defn :refer [add-code-body-start]])) (defn xform-sample-f [params+body] (let [params (first params+body) pre-post? (map? (second params+body)) pre-post (and pre-post? (second params+body)) body (if pre-post? (drop 2 params+...
15fd137c3b7604352db75569e321fea72ed032d1cf054d3c8e9bc55ff80704b6
Frama-C/Frama-C-snapshot
gui_callstacks_filters.ml
(**************************************************************************) (* *) This file is part of Frama - C. (* *) Copyright ...
null
https://raw.githubusercontent.com/Frama-C/Frama-C-snapshot/639a3647736bf8ac127d00ebe4c4c259f75f9b87/src/plugins/value/gui_files/gui_callstacks_filters.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...
cf84f7b7f0bea51717d4132a78d60ccd4112ed359cf5743b665e6d04c07035a6
quchen/generative-art
Main.hs
module Main (main) where import qualified Data.Map.Strict as M import Data.Traversable import qualified Data.Vector as V import qualified Graphics.Rendering.Cairo as C import System.Random.MWC import Draw import Geometry import Geometry.Coordinates.Hexagonal hiding (Polygon...
null
https://raw.githubusercontent.com/quchen/generative-art/61ec93e309f21c210f8f265918be2df562687b1c/showcases/truchet/Main.hs
haskell
expects the content to be set as source
module Main (main) where import qualified Data.Map.Strict as M import Data.Traversable import qualified Data.Vector as V import qualified Graphics.Rendering.Cairo as C import System.Random.MWC import Draw import Geometry import Geometry.Coordinates.Hexagonal hiding (Polygon...
2aa567b94c5a42d2a9549a8499bde87629dd9912dc5d2c5fac63bda0998f6c3b
acl2/acl2
bv-array-clear@useless-runes.lsp
(BV-ARRAY-CLEAR) (TRUE-LISTP-OF-BV-ARRAY-CLEAR) (LEN-OF-BV-ARRAY-CLEAR) (NTH-OF-BV-ARRAY-CLEAR (40 2 (:REWRITE BVCHOP-LIST-DOES-NOTHING-BETTER-2)) (32 6 (:REWRITE ALL-UNSIGNED-BYTE-P-WHEN-NOT-CONSP)) (24 2 (:REWRITE TAKE-DOES-NOTHING)) (17 2 (:REWRITE BVCHOP-LIST-DOES-NOTHING-BETTER)) (16 15 (:REWRITE DEFAULT-<-1)...
null
https://raw.githubusercontent.com/acl2/acl2/f64742cc6d41c35f9d3f94e154cd5fd409105d34/books/kestrel/bv-lists/.sys/bv-array-clear%40useless-runes.lsp
lisp
(BV-ARRAY-CLEAR) (TRUE-LISTP-OF-BV-ARRAY-CLEAR) (LEN-OF-BV-ARRAY-CLEAR) (NTH-OF-BV-ARRAY-CLEAR (40 2 (:REWRITE BVCHOP-LIST-DOES-NOTHING-BETTER-2)) (32 6 (:REWRITE ALL-UNSIGNED-BYTE-P-WHEN-NOT-CONSP)) (24 2 (:REWRITE TAKE-DOES-NOTHING)) (17 2 (:REWRITE BVCHOP-LIST-DOES-NOTHING-BETTER)) (16 15 (:REWRITE DEFAULT-<-1)...
3d140a11f85be7ec6b11909abba8b659a9bb85e6ae9154a37908e9b15efa4dcd
locusmath/locus
object.clj
(ns locus.partial-algebra.partial-magma.object (:require [locus.set.logic.core.set :refer :all] [locus.set.logic.limit.product :refer :all] [locus.set.logic.sequence.object :refer :all] [locus.con.core.setpart :refer :all] [locus.con.core.object :refer [projection]] ...
null
https://raw.githubusercontent.com/locusmath/locus/fb6068bd78977b51fd3c5783545a5f9986e4235c/src/clojure/locus/partial_algebra/partial_magma/object.clj
clojure
A partial magma is a copresheaf in the topos of ternary quivers. Its morphism set is the set of ordered pairs R, and its objects are the underlying set of the partial magma as a function, and the algebraic operation of the partial magma. Path quivers of partial magmas Convert a partial magma into a partial functio...
(ns locus.partial-algebra.partial-magma.object (:require [locus.set.logic.core.set :refer :all] [locus.set.logic.limit.product :refer :all] [locus.set.logic.sequence.object :refer :all] [locus.con.core.setpart :refer :all] [locus.con.core.object :refer [projection]] ...
7d1942faf3657bf75c9d76a63039a38ae573c64ec27f7332da9e4fdd7c74bf12
haskell/haskell-language-server
AddArgWithTypeSynSigContravariant.hs
type FunctionTySyn = Bool -> Int foo :: FunctionTySyn -> () -> Int foo True () = new_def [True] foo False () = 1
null
https://raw.githubusercontent.com/haskell/haskell-language-server/68d353f1ed42f3643bdb6043244b491030cc3e99/plugins/hls-refactor-plugin/test/data/golden/add-arg/AddArgWithTypeSynSigContravariant.hs
haskell
type FunctionTySyn = Bool -> Int foo :: FunctionTySyn -> () -> Int foo True () = new_def [True] foo False () = 1
703ce72680dd54350205f854f8300c1ac94dd6fa7efa31ac8297344be98ac2ff
flavioc/cl-hurd
dir-readdir.lisp
(in-package :translator-test) (defun %my-readdir (dir &key (entry 0) (nentries -1)) (loop for item in (dir-readdir dir :entry entry :nentries nentries) collect (list (dirent-name item) (dirent-typ...
null
https://raw.githubusercontent.com/flavioc/cl-hurd/982232f47d1a0ff4df5fde2edad03b9df871470a/tests/dir-readdir.lisp
lisp
(in-package :translator-test) (defun %my-readdir (dir &key (entry 0) (nentries -1)) (loop for item in (dir-readdir dir :entry entry :nentries nentries) collect (list (dirent-name item) (dirent-typ...
e01ec94bd4c2a7b6aa4fd15f277acd1362b8bd8c9d3f2e967c5893a5005120be
immutant/immutant
potemkin.clj
Copied and modified from potemkin , v0.4.3 ( ) , MIT licnensed , Copyright ;; Changes: ;; - fast-memoize removed (ns ^:no-doc from.potemkin (:require [from.potemkin namespaces types collections macros utils])) (from.potemkin.namespaces/import-vars from.potemkin.namespaces/import-vars) ;; totally meta (imp...
null
https://raw.githubusercontent.com/immutant/immutant/6ff8fa03acf73929f61f2ca75446cb559ddfc1ef/web/src/from/potemkin.clj
clojure
Changes: - fast-memoize removed totally meta
Copied and modified from potemkin , v0.4.3 ( ) , MIT licnensed , Copyright (ns ^:no-doc from.potemkin (:require [from.potemkin namespaces types collections macros utils])) (import-vars [from.potemkin.namespaces import-fn import-macro import-def] [from.potemkin.macros unify-gensyms no...
c57fc612d8d1a8cc3450c3c4c377cd64b6ad1be46e92c9556918f9f3a3954268
mathematical-systems/clml
hdp-hmm.lisp
HDP - HMM ( or infinite HMM ) (defpackage :nonparametric.hdp-hmm ; (:nicknames :hdp-hmm) (:use :cl :hjs.util.meta :nonpara.stat :nonparametric.dpm :nonparametric.hdp) (:export :hidden-state :emission :hdp-hmm :vocabulary :hdp-hmm-eos :cluster-dist-table :trans-prob :emissio...
null
https://raw.githubusercontent.com/mathematical-systems/clml/918e41e67ee2a8102c55a84b4e6e85bbdde933f5/nonparametric/hdp-hmm.lisp
lisp
(:nicknames :hdp-hmm) specific methods for distribution safety util for test
HDP - HMM ( or infinite HMM ) (defpackage :nonparametric.hdp-hmm (:use :cl :hjs.util.meta :nonpara.stat :nonparametric.dpm :nonparametric.hdp) (:export :hidden-state :emission :hdp-hmm :vocabulary :hdp-hmm-eos :cluster-dist-table :trans-prob :emission-prob :state-uni...
86c8035072cd1b6c348a351e61fc530c89f2b71f8ebf84b7d92a6effeb0d8607
azimut/shiny
empty.lisp
(in-package :shiny) ;; needs quickload of lib/csound.lisp ;; uses examples/walls/ for visuals (start-csound (gethash :xanadu *orcs*)) (bt:make-thread (lambda () (loop (let ((frame (csound:csoundperformksmps *c*))) (when (not (= frame 0)) (return)))))) ;; XANADU (make-play plucke "i1" 0) ...
null
https://raw.githubusercontent.com/azimut/shiny/774381a9bde21c4ec7e7092c7516dd13a5a50780/compositions/empty.lisp
lisp
needs quickload of lib/csound.lisp uses examples/walls/ for visuals XANADU ; ( progn ; ( setf * head * ( v ! 0 50 0 ) ) ; ( p time 60 60 .5 2 : pan 0 ) ; ( p ( + time # [ .5 b ] ) 60 60 .5 3 : pan 127 ) ) ) (when (next here)
(in-package :shiny) (start-csound (gethash :xanadu *orcs*)) (bt:make-thread (lambda () (loop (let ((frame (csound:csoundperformksmps *c*))) (when (not (= frame 0)) (return)))))) (make-play plucke "i1" 0) (make-play pluck "i2" 0) (make-play newfm "i3" 0 .2 2.0) (defun f ()) (defun mak...
f1af872a79178f398235e6299a2a5e5c689b58dda80bbcdd9a05e31d3fab031d
NorfairKing/easyspec
Seventeen.hs
# LANGUAGE NoImplicitPrelude # module Seventeen where import Prelude (Bool(..), Maybe(..), (&&), (+), (-), (||), concat, const, drop, map, not, take) {-# ANN module "HLint: ignore Use foldr" #-} myId :: a -> a myId a = a myPlusPlus :: [a] -> [a] -> [a] myPlusPlus (a:as) bs = a : myPlusPlus as bs myP...
null
https://raw.githubusercontent.com/NorfairKing/easyspec/b038b45a375cc0bed2b00c255b508bc06419c986/examples/runtime/Seventeen.hs
haskell
# ANN module "HLint: ignore Use foldr" #
# LANGUAGE NoImplicitPrelude # module Seventeen where import Prelude (Bool(..), Maybe(..), (&&), (+), (-), (||), concat, const, drop, map, not, take) myId :: a -> a myId a = a myPlusPlus :: [a] -> [a] -> [a] myPlusPlus (a:as) bs = a : myPlusPlus as bs myPlusPlus [] bs = bs myReverse :: [a] -> [a] m...
c0337091e49740bfdd043ad4ce8242ef0e36f571e62168bb26e85c44ab5a6975
jafingerhut/dolly
parse.clj
Copyright ( c ) , 2012 . All rights reserved . The use and distribution terms for this software are covered by the Eclipse ;; Public License 1.0 (-1.0.php) ;; which can be found in the file epl-v10.html at the root of this ;; distribution. By using this software in any fashion, you are ;; agreeing to be bound by ...
null
https://raw.githubusercontent.com/jafingerhut/dolly/6dfe7f3bcd58d81fba7793d214230792b6140ffd/src/dolly/copieddeps/tns/clojure/tools/namespace/parse.clj
clojure
Public License 1.0 (-1.0.php) which can be found in the file epl-v10.html at the root of this distribution. By using this software in any fashion, you are agreeing to be bound by the terms of this license. You must not remove this notice, or any other, from this software. str forces errors, see TNS-1 Parsing dep...
Copyright ( c ) , 2012 . All rights reserved . The use and distribution terms for this software are covered by the Eclipse (ns ^{:author "Stuart Sierra" :doc "Parse Clojure namespace (ns) declarations and extract dependencies."} dolly.copieddeps.tns.clojure.tools.namespace.parse (:require [clojure.se...
08c9fe3788b07c4d5ba95261de688791b92614584c9cc9087f853429dfd8e77f
TristanCacqueray/haskell-xstatic
XStatic.hs
# LANGUAGE ImportQualifiedPost # | Serve a XStaticFiles in your servant api : @ type ServerAPI = Get ' [ HTML ] ( Html ( ) ) : \<|\ > " xstatic " :> Raw server : : Server ServerAPI server = pure mempty \<|\ > xstaticServant xfiles where xfiles = [ XStatic.htmx ] @ @ type Serv...
null
https://raw.githubusercontent.com/TristanCacqueray/haskell-xstatic/205506d8b53af9f9e448bfd0e2eadec349058eca/servant-xstatic/src/Servant/XStatic.hs
haskell
| Create a 'Raw' handler.
# LANGUAGE ImportQualifiedPost # | Serve a XStaticFiles in your servant api : @ type ServerAPI = Get ' [ HTML ] ( Html ( ) ) : \<|\ > " xstatic " :> Raw server : : Server ServerAPI server = pure mempty \<|\ > xstaticServant xfiles where xfiles = [ XStatic.htmx ] @ @ type Serv...
09af7155ce920362a349a35d6743a2d6687553af179d43e875760e0dbc1a1bef
mkremins/epitaph
language.cljs
(ns epitaph.language (:require [clojure.string :as str] [epitaph.rand :refer [biased-rand-nth pick-n restricted]])) (def all-consonants ["b" "b" "c" "c" "d" "d" "g" "g" "h" "h" "k" "k" "m" "m" "n" "n" "l" "p" "p" "q" "s" "t" "t" "v" "v" "x" "y" "z"]) (def all-vowels ["a" "e" "i" "o" "u" "a" "e...
null
https://raw.githubusercontent.com/mkremins/epitaph/003564c761143ebfa6ef28e936190debcb9e47fb/src/epitaph/language.cljs
clojure
"normal" orthography (chosen ~half the time) eliminate trailing separators eliminate doubles non-breaking hyphens syllable boundaries
(ns epitaph.language (:require [clojure.string :as str] [epitaph.rand :refer [biased-rand-nth pick-n restricted]])) (def all-consonants ["b" "b" "c" "c" "d" "d" "g" "g" "h" "h" "k" "k" "m" "m" "n" "n" "l" "p" "p" "q" "s" "t" "t" "v" "v" "x" "y" "z"]) (def all-vowels ["a" "e" "i" "o" "u" "a" "e...
6e909e6727f1a2ca3d37ca628683e0e7fc94f9855199c6e96d8931e6791e3aed
jtobin/deanie
Comonadic.hs
module Deanie.Inference.Comonadic where import Control.Comonad.Cofree import Deanie.Language type Execution a = Cofree Program a initialize :: ProgramF a -> () initialize = \case ProgramF branch -> case branch of InL term -> foo term InR term -> () where foo = \case BernoulliF p _ -> ()...
null
https://raw.githubusercontent.com/jtobin/deanie/37045f82401d18a63be4d333cff9b9053b927d3a/lib/Deanie/Inference/Comonadic.hs
haskell
module Deanie.Inference.Comonadic where import Control.Comonad.Cofree import Deanie.Language type Execution a = Cofree Program a initialize :: ProgramF a -> () initialize = \case ProgramF branch -> case branch of InL term -> foo term InR term -> () where foo = \case BernoulliF p _ -> ()...
11b67216e7b48fd2803dc15bef4859b2297a80739bc440800aaad28e94c7943b
ssor/erlangDemos
echo_post_app.erl
%% Feel free to use, reuse and abuse the code in this file. @private -module(echo_post_app). -behaviour(application). %% API. -export([start/2]). -export([stop/1]). %% API. start(_Type, _Args) -> Dispatch = [ {'_', [ {[], toppage_handler, []} ]} ], {ok, _} = cowboy:start_listener(http, 100, cowboy_tcp...
null
https://raw.githubusercontent.com/ssor/erlangDemos/632cd905be2c4f275f1c1ae15238e711d7bb9147/cowboy_examples/echo_post/src/echo_post_app.erl
erlang
Feel free to use, reuse and abuse the code in this file. API. API.
@private -module(echo_post_app). -behaviour(application). -export([start/2]). -export([stop/1]). start(_Type, _Args) -> Dispatch = [ {'_', [ {[], toppage_handler, []} ]} ], {ok, _} = cowboy:start_listener(http, 100, cowboy_tcp_transport, [{port, 8080}], cowboy_http_protocol, [{dispatch, Dispatch}] ...
ce240bae92479f8781344c1b88b90f7412a2348b550b123d417d6ec8b0dd42bf
shriphani/clj-lmdb
simple.clj
(ns clj-lmdb.simple (:require [clj-lmdb.core :as core]) (:import [org.fusesource.lmdbjni Constants])) (def make-db core/make-db) (def make-named-db core/make-named-db) (def drop-db! core/drop-db!) (def read-txn core/read-txn) (def write-txn core/write-txn) (defmacro with-txn [& args] `(core/with-txn ~@args)) ...
null
https://raw.githubusercontent.com/shriphani/clj-lmdb/dd842440088aa7fbe677c31c07ae56621d98a04d/src/clj_lmdb/simple.clj
clojure
(ns clj-lmdb.simple (:require [clj-lmdb.core :as core]) (:import [org.fusesource.lmdbjni Constants])) (def make-db core/make-db) (def make-named-db core/make-named-db) (def drop-db! core/drop-db!) (def read-txn core/read-txn) (def write-txn core/write-txn) (defmacro with-txn [& args] `(core/with-txn ~@args)) ...
befe30e731bc56961d91f867d283c24e9fe2a72545c5bb3a5aee92fce8e62583
jyh/metaprl
kat_denest.ml
extends Kat_std extends Kat_bool open Top_conversionals open Base_select open Dtactic interactive denestwhile {| intro[] |}: [wf] sequent{ <H> >- 'q in kleene} --> [wf] sequent{ <H> >- 'p in kleene} --> [wf] sequent{ <H> >- 'C in bool} --> [wf] sequent{ <H> >- 'B in bool} --> sequent{ <H> >- ...
null
https://raw.githubusercontent.com/jyh/metaprl/51ba0bbbf409ecb7f96f5abbeb91902fdec47a19/theories/kat/kat_denest.ml
ocaml
extends Kat_std extends Kat_bool open Top_conversionals open Base_select open Dtactic interactive denestwhile {| intro[] |}: [wf] sequent{ <H> >- 'q in kleene} --> [wf] sequent{ <H> >- 'p in kleene} --> [wf] sequent{ <H> >- 'C in bool} --> [wf] sequent{ <H> >- 'B in bool} --> sequent{ <H> >- ...
e906376573bcb05f4fc04618d622ebb644bb31d8ac7fbe88fd5886a0323f5279
kyleburton/sandbox
perf_test.clj
(ns com.github.kyleburton.sandbox.rabbitmq.perf-test (:import [java.util Date] [java.io File]) (:use [com.github.kyleburton.sandbox.rabbitmq :as rabbit] [com.github.kyleburton.sandbox.utils :as kutils] [clojure.contrib.duck-streams :as ds] [clojure.contrib.str-utils ...
null
https://raw.githubusercontent.com/kyleburton/sandbox/cccbcc9a97026336691063a0a7eb59293a35c31a/clojure-utils/kburton-clojure-utils/src/main/clj/com/github/kyleburton/sandbox/rabbitmq/perf_test.clj
clojure
client library supports the AMQP v0.8 standard, the impact of this is that the tests will only be executable against Brokers The following brokers were considered for this benchmark: Unable to benchmark: unable to determine how to configure it as an AMQP Broker, it is unclear to me at this ...
(ns com.github.kyleburton.sandbox.rabbitmq.perf-test (:import [java.util Date] [java.io File]) (:use [com.github.kyleburton.sandbox.rabbitmq :as rabbit] [com.github.kyleburton.sandbox.utils :as kutils] [clojure.contrib.duck-streams :as ds] [clojure.contrib.str-utils ...
f6f9898551c138b208e5779793b8fb27daefcd01eaecff321f496ed327754fd6
sru-systems/protobuf-simple
Mergeable.hs
-- | Module : Data . ProtoBuf . Copyright : ( c ) 2015 - 2016 < > License : MIT Maintainer : < > -- module Data.ProtoBuf.Mergeable ( Mergeable(..) ) where import Data.ByteString.Lazy (ByteString) import Data.Int (Int32, Int64) import Data.Sequence (Seq, (><)) import Data.Te...
null
https://raw.githubusercontent.com/sru-systems/protobuf-simple/ee0f26b6a8588ed9f105bc9ee72c38943133ed4d/src/Data/ProtoBuf/Mergeable.hs
haskell
| | Typeclass to handle merging of values.
Module : Data . ProtoBuf . Copyright : ( c ) 2015 - 2016 < > License : MIT Maintainer : < > module Data.ProtoBuf.Mergeable ( Mergeable(..) ) where import Data.ByteString.Lazy (ByteString) import Data.Int (Int32, Int64) import Data.Sequence (Seq, (><)) import Data.Text.Lazy ...
1c1e5ccb592dadaaef8f48398c39f45aea328c812be46b57908836ee3d599da4
facebook/flow
annotate_implicit_instantiation.ml
* Copyright ( c ) Meta Platforms , Inc. and affiliates . * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree . * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in t...
null
https://raw.githubusercontent.com/facebook/flow/45e0ada461a3923e2d64f92b057c5fba54a818e7/src/codemods/annotate_implicit_instantiation.ml
ocaml
* Copyright ( c ) Meta Platforms , Inc. and affiliates . * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree . * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in t...
f920211dbfb28d142535f15016270996fc8b15bab762abdbe4e5c1fb3ed3ce03
retro/keechma-next-realworld-app
util.cljs
(ns keechma.next.toolbox.util (:require [clojure.core.async :refer [chan put! close!]] [promesa.core :as p])) (defn error? [value] (instance? js/Error value)) (defn as-error [value] (if (error? value) value (ex-info "Unknown Error" {:value value}))) (defn promise->chan [promise] (let [pr...
null
https://raw.githubusercontent.com/retro/keechma-next-realworld-app/47a14f4f3f6d56be229cd82f7806d7397e559ebe/classes/production/realworld-2/keechma/next/toolbox/util.cljs
clojure
(ns keechma.next.toolbox.util (:require [clojure.core.async :refer [chan put! close!]] [promesa.core :as p])) (defn error? [value] (instance? js/Error value)) (defn as-error [value] (if (error? value) value (ex-info "Unknown Error" {:value value}))) (defn promise->chan [promise] (let [pr...
c96473c42a08dc31fffe8907f3047bf02305f9b8d0bd49b92028b45f549c1e3f
thepower/tpnode
topology.erl
-module(topology). -include("include/tplog.hrl"). -behaviour(gen_server). -define(SERVER, ?MODULE). This module sends beacons . There are 3 rounds . In the first one , we sends and receives simple beacons ( from , to , timestamp ) . In the second one , we sends collection of beacons from the previous round and r...
null
https://raw.githubusercontent.com/thepower/tpnode/6212422bc9061d44d150ef2d777d6e694396ed15/apps/tpnode/src/topology.erl
erlang
for make decision on data from the received collections. The state of the network goes to ------------------------------------------------------------------ API Function Exports ------------------------------------------------------------------ ------------------------------------------------------------------ --...
-module(topology). -include("include/tplog.hrl"). -behaviour(gen_server). -define(SERVER, ?MODULE). This module sends beacons . There are 3 rounds . In the first one , we sends and receives simple beacons ( from , to , timestamp ) . In the second one , we sends collection of beacons from the previous round and r...
9e805bb065725ac0cef6f49e6bed4efe9121ab7351d535771e5cd6d8f220a2c7
rbkmoney/erlang_capi_v2
capi_handler_utils.erl
-module(capi_handler_utils). -include_lib("damsel/include/dmsl_payment_processing_thrift.hrl"). -include_lib("damsel/include/dmsl_domain_thrift.hrl"). -export([general_error/2]). -export([logic_error/1]). -export([logic_error/2]). -export([server_error/1]). -export([format_request_errors/1]). -export([assert_party_a...
null
https://raw.githubusercontent.com/rbkmoney/erlang_capi_v2/4e39a79083809aadb6555a04d875adca69983a2a/apps/capi/src/capi_handler_utils.erl
erlang
обычно параметры идут в порядке [user_info, party_id], но это зависит от damsel протокола TODO Replace when user ids finally stop being equal to party ids TODO Replace when user ids finally stop being equal to party ids
-module(capi_handler_utils). -include_lib("damsel/include/dmsl_payment_processing_thrift.hrl"). -include_lib("damsel/include/dmsl_domain_thrift.hrl"). -export([general_error/2]). -export([logic_error/1]). -export([logic_error/2]). -export([server_error/1]). -export([format_request_errors/1]). -export([assert_party_a...
627d5d70e4f41cddaa49ed4b65f3b86f297080a8824a18a4ebfe6b2bc9399f83
raviksharma/bartosz-basics-of-haskell
myalnums.hs
import Data.Char alnums :: String -> (String, String) alnums x = als "" x als :: String -> String -> (String, String) als i [] = (i, []) als i (j : rest) = if isAlphaNum j then als (i ++ [j]) rest else (i, j : rest) main = print $ alnums "R2D2+C3Po"
null
https://raw.githubusercontent.com/raviksharma/bartosz-basics-of-haskell/86d40d831f61415ef0022bff7fe7060ae6a23701/07-tokenizer-higher-order-functions/myalnums.hs
haskell
import Data.Char alnums :: String -> (String, String) alnums x = als "" x als :: String -> String -> (String, String) als i [] = (i, []) als i (j : rest) = if isAlphaNum j then als (i ++ [j]) rest else (i, j : rest) main = print $ alnums "R2D2+C3Po"
c992f482dae089526e79ebcc0e2efed5ef49fa7e5716b1f1836fee8be112b694
postspectacular/devart-codefactory
layout.cljs
(ns codefactory.editor.layout (:require-macros [cljs.core.async.macros :refer [go]] [thi.ng.macromath.core :as mm]) (:require [cljs.core.async :as cas :refer [<! alts! timeout]] [codefactory.editor.tree :as tree] [codefactory.config :as config] [thi.ng.cljs.async :as async] [thi.ng.cljs.log :re...
null
https://raw.githubusercontent.com/postspectacular/devart-codefactory/9bccdc10e58fa4861a69767e9ae4be0bb8d7f650/src-cljs/codefactory/editor/layout.cljs
clojure
(ns codefactory.editor.layout (:require-macros [cljs.core.async.macros :refer [go]] [thi.ng.macromath.core :as mm]) (:require [cljs.core.async :as cas :refer [<! alts! timeout]] [codefactory.editor.tree :as tree] [codefactory.config :as config] [thi.ng.cljs.async :as async] [thi.ng.cljs.log :re...
153414360c64163c6ca739d5c2138ab8f39b3bf0e280cfdfba6b8994c0bb1eca
rainyt/ocaml-haxe
fun.ml
(**************************************************************************) (* *) (* OCaml *) (* *) (* ...
null
https://raw.githubusercontent.com/rainyt/ocaml-haxe/9d0ab323c6857d7fe3ce89764a00921eff1a5aaf/ocaml-extern/ocaml/fun.ml
ocaml
************************************************************************ OCaml The...
Copyright 2018 Institut National de Recherche en Informatique et the GNU Lesser General Public License version 2.1 , with the external id : 'a -> 'a = "%identity" let const c _ = c let flip f x y = f y x let negate p v = not (p v) exception Finally_raised of exn let () = Printexc.register_prin...
09c0bdff051b831ebe081e7bb83f85db492525c8b0a7850d16a41497334821e3
tarides/opam-monorepo
uri_utils.mli
* One way normalization of URIs . Not meant to expose the normalized value of the URI again Not meant to expose the normalized value of the URI again *) module Normalized : sig type t (** Abstracts away the actual value which is not to be used directly *) val of_uri : Uri.t -> t * Returns a canonical r...
null
https://raw.githubusercontent.com/tarides/opam-monorepo/5557a3253aa3e032418fb0bff4830e203ab87ae6/lib/uri_utils.mli
ocaml
* Abstracts away the actual value which is not to be used directly * Pretty printer for normalized URLs.
* One way normalization of URIs . Not meant to expose the normalized value of the URI again Not meant to expose the normalized value of the URI again *) module Normalized : sig type t val of_uri : Uri.t -> t * Returns a canonical representation of the URI val equal : t -> t -> bool * Determines whethe...
7aeba7358ef21480f922063c23a58502404aeed45f98632f7347d29088f6ee23
chaslemley/slim.clj
project.clj
(defproject devn/slim "0.1.5" :description "Simple HTML Templating for Clojure" :url "" :license {:name "Eclipse Public License" :url "-v10.html"} :dependencies [[org.clojure/clojure "1.4.0"] [hiccup "1.0.0"]])
null
https://raw.githubusercontent.com/chaslemley/slim.clj/fa65f9b96eaadb927815c3bcb2b6b2223074951f/project.clj
clojure
(defproject devn/slim "0.1.5" :description "Simple HTML Templating for Clojure" :url "" :license {:name "Eclipse Public License" :url "-v10.html"} :dependencies [[org.clojure/clojure "1.4.0"] [hiccup "1.0.0"]])
e2686c19dc38b19578ba5623fa1c24cc9b25d84bab0c1fa7877c84ab2fa3e031
theleoborges/imminent
project.clj
(defproject com.leonardoborges/imminent "0.2.1-SNAPSHOT" :description "A composable Futures library for Clojure" :url "" :license {:name "Eclipse Public License" :url "-v10.html"} :dependencies [[org.clojure/clojure "1.10.1"] [org.clojure/test.check "0.5.8"] [uncomp...
null
https://raw.githubusercontent.com/theleoborges/imminent/9429072dc2b46d2e23cb64992e40faa682c7eb47/project.clj
clojure
(defproject com.leonardoborges/imminent "0.2.1-SNAPSHOT" :description "A composable Futures library for Clojure" :url "" :license {:name "Eclipse Public License" :url "-v10.html"} :dependencies [[org.clojure/clojure "1.10.1"] [org.clojure/test.check "0.5.8"] [uncomp...
085d304ff2997cf46148c0f53e1f243ea3842bff1070972dd1ac367d91f034b2
rspeer/wikiparsec
Sections.hs
# LANGUAGE NoImplicitPrelude , OverloadedStrings # import WikiPrelude import Test.HUnit import Text.MediaWiki.Sections import Control.Monad testSecParser :: Text -> [WikiSection] -> Test testSecParser input output = (unpack input) ~: parsePageIntoSections input ~?= output sectionTests = [ testSecParser "top se...
null
https://raw.githubusercontent.com/rspeer/wikiparsec/9637a82344bb70f7fa8f02e75db3c081ccd434ce/tests/Sections.hs
haskell
# LANGUAGE NoImplicitPrelude , OverloadedStrings # import WikiPrelude import Test.HUnit import Text.MediaWiki.Sections import Control.Monad testSecParser :: Text -> [WikiSection] -> Test testSecParser input output = (unpack input) ~: parsePageIntoSections input ~?= output sectionTests = [ testSecParser "top se...
78355564cd21b3748975c55e11d51849401c1cd983125ec89228aea1a39eaf2b
lambdamikel/DLMAPS
heap-test.lisp
;;; $ Header : /home / gene / library / website / docsrc / lisp - heap / RCS / test.lisp , v 201.1 2004/08/31 06:49:54 gene Exp $ ;;; Copyright ( c ) 2002 by . ;;; All rights reserved. ;;; Permission to copy, store, & view this document unmodified & ;;; in its entirety is granted. ;;; (require "heap" '("heap.li...
null
https://raw.githubusercontent.com/lambdamikel/DLMAPS/7f8dbb9432069d41e6a7d9c13dc5b25602ad35dc/src/tools/heap-test.lisp
lisp
All rights reserved. Permission to copy, store, & view this document unmodified & in its entirety is granted. I don't understand why the SETQ is necessary. NCONC is destructive, it should affect *TESTS* inherently. NCONC has the expected behaviour when I experiment with it in needed here. Prime the queue. ...
$ Header : /home / gene / library / website / docsrc / lisp - heap / RCS / test.lisp , v 201.1 2004/08/31 06:49:54 gene Exp $ Copyright ( c ) 2002 by . (require "heap" '("heap.lisp")) (defvar *tests* nil) (setq *tests* nil) (defmacro deftest (name &rest args-doc-body) `(progn interactive mode , but experi...
bd4a0653ed134f864c5be869d200e9c9366f1b367dca766807e29f47f19cade0
VisionsGlobalEmpowerment/webchange
audio_loader.cljs
(ns webchange.ui.components.audio-wave.audio-loader (:require-macros [cljs.core.async.macros :refer [go]]) (:require [cljs.core.async :refer [<!]] [cljs-http.client :as http])) (def resources-url "") (def audios (atom {})) (defn put-audio [key data] (swap! audios assoc (name key) data) data) (defn get-aud...
null
https://raw.githubusercontent.com/VisionsGlobalEmpowerment/webchange/1bcebce2d5a99b26cd559295d301d5255cca6a1a/src/cljs/webchange/ui/components/audio_wave/audio_loader.cljs
clojure
(ns webchange.ui.components.audio-wave.audio-loader (:require-macros [cljs.core.async.macros :refer [go]]) (:require [cljs.core.async :refer [<!]] [cljs-http.client :as http])) (def resources-url "") (def audios (atom {})) (defn put-audio [key data] (swap! audios assoc (name key) data) data) (defn get-aud...
f5ca10726aa2d0830cf21f339e92e5cf8bdda8f6f9368ffe3f57319ee6f3e06b
tezos/tezos-mirror
liquidity_baking_pbt.ml
(*****************************************************************************) (* *) (* Open Source License *) Copyright ( c ) 2021 Nomadic Labs < > (* ...
null
https://raw.githubusercontent.com/tezos/tezos-mirror/39e976ad6eae6446af8ca17ef4a63475ab9fe2b9/src/proto_alpha/lib_protocol/test/pbt/liquidity_baking_pbt.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 AN...
b4b279ac807467926a5c8a5adee76b88dd366c0ac1f0c6afa3d752a8a25830eb
CREATe-centre/sociaml-facebook-api
request.ml
module Error = struct type expected = int type actual = int type reason = string type 'a t = [ | `Unexpected_response of expected * actual * reason | `Exception of exn | `Conversion_error of 'a Meta_conv.Error.t | `Generic_error of string ] end type ('a, 'b) response = ('a, 'b) Core_kernel.R...
null
https://raw.githubusercontent.com/CREATe-centre/sociaml-facebook-api/b59163ddd13c5060be1a22b975d6422e8c047a16/src/request.ml
ocaml
module Error = struct type expected = int type actual = int type reason = string type 'a t = [ | `Unexpected_response of expected * actual * reason | `Exception of exn | `Conversion_error of 'a Meta_conv.Error.t | `Generic_error of string ] end type ('a, 'b) response = ('a, 'b) Core_kernel.R...
329787622e807bcc37952b0d899a74034fbd1a1d33471fcd77da6881b7543ac7
TakaiKinoko/Cornell_CS3110_OCaml
3addAll.ml
(** Here is a functor that takes in a structure named S that matches the Set signature, then produces a new structure having a single function named add_all in it:*) module type Set = sig type 'a t (* [empty] is the empty set *) val empty : 'a t (* [mem x s] holds iff [x] is an element of [s] *) val m...
null
https://raw.githubusercontent.com/TakaiKinoko/Cornell_CS3110_OCaml/0a830bc50a5e39f010074dc289161426294cad1d/Chap5_Modules/07functor/3addAll.ml
ocaml
* Here is a functor that takes in a structure named S that matches the Set signature, then produces a new structure having a single function named add_all in it: [empty] is the empty set [mem x s] holds iff [x] is an element of [s] [add x s] is the set [s] unioned with the set containing exactly [x] [elts s...
module type Set = sig type 'a t val empty : 'a t val mem : 'a -> 'a t -> bool val add : 'a -> 'a t -> 'a t val elts : 'a t -> 'a list end module AddAll (S: Set) = struct let add_all lst set = let add' s x = S.add x s in List.fold_left add' set lst end
eeb7545a6bcea9e3778edcfdececdaf7e3b3a953a5c550523984dde15ec81a69
LaifsV1/YUP
CongruenceClosure.ml
(* Abstract Congruence Closure *) author : algorithm from " Abstract Congruence Closure " by , , Result of " get_cong_rules ( build_congruence e ) " is the abstract congruence closure rewrite rule for e. These rules will be in simplest form , and be deterministic . Additionally , the rules are con...
null
https://raw.githubusercontent.com/LaifsV1/YUP/480d8d6228092ec8e7881fde071bd65be703b4f1/src/CongruenceClosure.ml
ocaml
Abstract Congruence Closure ******* TYPE DEFINITIONS ******* rewrite rules c -> d f(c_0, ... , c_k) -> c sets {crule} {drule} {(t=t):tau} {x | x not in E} C union D state K,E,R *************** MODULE-SPECIFIC HELPER FUNCTIONS *************** fresh function and global variable - this is a reserved stri...
author : algorithm from " Abstract Congruence Closure " by , , Result of " get_cong_rules ( build_congruence e ) " is the abstract congruence closure rewrite rule for e. These rules will be in simplest form , and be deterministic . Additionally , the rules are confluent . Order of rule reduct...
def7beb299b07f606ba54baa89ccc1c75c0e55273153471810424477ab72ff7b
antono/guix-debian
datamash.scm
;;; GNU Guix --- Functional package management for GNU Copyright © 2014 < > ;;; ;;; This file is part of GNU Guix. ;;; GNU is free software ; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation ; either version 3 of the Lice...
null
https://raw.githubusercontent.com/antono/guix-debian/85ef443788f0788a62010a942973d4f7714d10b4/gnu/packages/datamash.scm
scheme
GNU Guix --- Functional package management for GNU This file is part of GNU Guix. you can redistribute it and/or modify it either version 3 of the License , or ( at your option) any later version. GNU Guix is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied wa...
Copyright © 2014 < > under the terms of the GNU General Public License as published by You should have received a copy of the GNU General Public License along with GNU . If not , see < / > . (define-module (gnu packages datamash) #:use-module (guix packages) #:use-module (guix licenses) #:use-modul...
94f04202593206ff88d0a8eef89ef52491ae0be405117cf463636be1dc437d46
tonyrog/xylan
xylan_clt.erl
%%% coding: latin-1 %%%---- BEGIN COPYRIGHT ------------------------------------------------------- %%% Copyright ( C ) 2007 - 2016 , Rogvall Invest AB , < > %%% %%% This software is licensed as described in the file COPYRIGHT, which %%% you should have received as part of this distribution. The terms %%% are also a...
null
https://raw.githubusercontent.com/tonyrog/xylan/9543f5798746c7119544cc51c3237a294d9a6b4b/src/xylan_clt.erl
erlang
coding: latin-1 ---- BEGIN COPYRIGHT ------------------------------------------------------- This software is licensed as described in the file COPYRIGHT, which you should have received as part of this distribution. The terms are also available at . You may opt to use, copy, modify, merge, publish, distribute a...
Copyright ( C ) 2007 - 2016 , Rogvall Invest AB , < > copies of the Software , and permit persons to whom the Software is This software is distributed on an " AS IS " basis , WITHOUT WARRANTY OF ANY @author < > ( C ) 2016 , Created : 18 Dec 2014 by -module(xylan_clt). -behaviour(gen_server). -exp...
37a4afe67c8289025ae99579dbb2b2216b35822eac2a9d12aee7f14ce288386a
helium/blockchain-core
blockchain_cli_peer.erl
%%%------------------------------------------------------------------- %% @doc %% == Blockchain CLI Peer == %% @end %%%------------------------------------------------------------------- -module(blockchain_cli_peer). -behavior(clique_handler). -export([register_cli/0]). register_cli() -> register_all_usage(), ...
null
https://raw.githubusercontent.com/helium/blockchain-core/abec0d7fea2477da857a2ceebd9a717909150399/src/cli/blockchain_cli_peer.erl
erlang
------------------------------------------------------------------- @doc == Blockchain CLI Peer == @end ------------------------------------------------------------------- peer peer listen_addr peer listen Format result peer addr peer connect peer disconnect TODO: unimplemented peer ping pee...
-module(blockchain_cli_peer). -behavior(clique_handler). -export([register_cli/0]). register_cli() -> register_all_usage(), register_all_cmds(). register_all_usage() -> lists:foreach(fun(Args) -> apply(clique, register_usage, Args) end, [ ...
ce3ab1ff45229c6dc53fd23fef8a944eff5f82d2bea984d37487ca11b2ea5d20
modular-macros/ocaml-macros
occur_check.ml
PR#5907 type 'a t = 'a;; let f (g : 'a list -> 'a t -> 'a) s = g s s;; [%%expect{| type 'a t = 'a Line _, characters 42-43: Error: This expression has type 'a list but an expression was expected of type 'a t = 'a The type variable 'a occurs inside 'a list |}];; let f (g : 'a * 'b -> 'a t -> 'a) s = g s...
null
https://raw.githubusercontent.com/modular-macros/ocaml-macros/05372c7248b5a7b1aa507b3c581f710380f17fcd/testsuite/tests/typing-misc/occur_check.ml
ocaml
PR#5907 type 'a t = 'a;; let f (g : 'a list -> 'a t -> 'a) s = g s s;; [%%expect{| type 'a t = 'a Line _, characters 42-43: Error: This expression has type 'a list but an expression was expected of type 'a t = 'a The type variable 'a occurs inside 'a list |}];; let f (g : 'a * 'b -> 'a t -> 'a) s = g s...
99bf1adde71eba84de266696a3d06ef4bfb446ba53f173560ca97a568e3dfe88
korya/efuns
wX_text.ml
(***********************************************************************) (* *) (* ____ *) (* *) Fabrice Le Fessa...
null
https://raw.githubusercontent.com/korya/efuns/78b21d9dff45b7eec764c63132c7a564f5367c30/toolkit/wX_text.ml
ocaml
********************************************************************* ____ ...
Fabrice Le Fessant , projet Para / SOR , INRIA Rocquencourt Copyright 1999 Institut National de Recherche en Informatique et Automatique . Distributed only by permission . open Xtypes open WX_types module type Make_sig = sig type text and line and 'a tree...
06533fb2ffde667503d8b4f1073da219c287a728818b24e76b6258a9a2655466
Lambda-X/cljs-repl-web
macro_debug.clj
(ns ^{:doc "Thanks to Michael Bradley's following file we are able to debug macros in Clojurescript "} macro-debug (:require [cljs.analyzer :as cljs] clojure.walk)) (declare ap cljs-macroexpand* cljs-macroexpand-1* cljs-macroexpand-all* cljs-macroexpa...
null
https://raw.githubusercontent.com/Lambda-X/cljs-repl-web/0dabe8ff18d8c0f4ae6c9f052dc23eb1f5ad262c/dev/macro_debug.clj
clojure
macros and supporting funcs for macro dev and debug in ClojureScript projects -----------------------------------------------------------------------------
(ns ^{:doc "Thanks to Michael Bradley's following file we are able to debug macros in Clojurescript "} macro-debug (:require [cljs.analyzer :as cljs] clojure.walk)) (declare ap cljs-macroexpand* cljs-macroexpand-1* cljs-macroexpand-all* cljs-macroexpa...
94f93259350075278f9e42befce1bbed9cd6b5eda869ec2d7ea929b7ef879c77
tommaisey/aeon
lag2.help.scm
;; (lag2 in lagTime) ;; lag2 is the same as (lag kr (Lag kr in time) time). (let* ((x (mouse-x kr 220 440 0 0.1)) (f (mce2 x (lag2 x 1)))) (audition (out 0 (mul (sin-osc ar f 0) 0.1))))
null
https://raw.githubusercontent.com/tommaisey/aeon/80744a7235425c47a061ec8324d923c53ebedf15/libs/third-party/sc3/rsc3/help/ugen/filters/lag2.help.scm
scheme
(lag2 in lagTime) lag2 is the same as (lag kr (Lag kr in time) time).
(let* ((x (mouse-x kr 220 440 0 0.1)) (f (mce2 x (lag2 x 1)))) (audition (out 0 (mul (sin-osc ar f 0) 0.1))))
63a9bf20cc6e2a17a514f23a58006f329e7267632cb918e044ee9643e5a139d0
monadicsystems/lucid-htmx
Htmx.hs
{-# LANGUAGE OverloadedStrings #-} module Lucid.Htmx ( hxBoost_, hxConfirm_, hxEncoding_, hxExt_, hxDelete_, hxDisable_, hxGet_, hxHeaders_, hxHistoryElt_, hxInclude_, hxIndicator_, hxParams_, hxPatch_, hxPost_, hxPreserve_, hxPrompt_, hxPushUrl_, h...
null
https://raw.githubusercontent.com/monadicsystems/lucid-htmx/c100e61877babc2dd406a63c03415a0641dfaa96/lucid1/src/Lucid/Htmx.hs
haskell
# LANGUAGE OverloadedStrings # | <-boost/> | <-confirm/> | <-delete/> | <-disable/> | <-encoding/> | <-ext/> | <-get/> | <-headers/> | <-history-elt/> | <-include/> | <-indicator/> | <-params/> | <-patch/> | <-post/> | <-preserve/> | <-prompt/> | <-push-url/> | <-put/> | <-request/> | <-select/> | ...
module Lucid.Htmx ( hxBoost_, hxConfirm_, hxEncoding_, hxExt_, hxDelete_, hxDisable_, hxGet_, hxHeaders_, hxHistoryElt_, hxInclude_, hxIndicator_, hxParams_, hxPatch_, hxPost_, hxPreserve_, hxPrompt_, hxPushUrl_, hxPut_, hxRequest_, hxSelect...
e6f758c8c106c0086c09f52277236703c0a58981f91f12e9fb9e06c7d6bd519b
Profpatsch/yarn2nix
TestMultiKeyedMap.hs
# LANGUAGE OverloadedStrings , TemplateHaskell , QuasiQuotes , NamedFieldPuns , ViewPatterns # module TestMultiKeyedMap (tests) where import qualified Data.List as List import qualified Data.List.NonEmpty as NE import Test.Tasty (TestTree) import Test.Tasty.TH import Test.Tasty.QuickCheck import Test.QuickCheck.Instan...
null
https://raw.githubusercontent.com/Profpatsch/yarn2nix/4de62cae42380c4bc54df8eba0abd4efbfb53878/yarn-lock/tests/TestMultiKeyedMap.hs
haskell
orphans! force the contents to be the same, should always be equal | inserting the same value is idempotent | inserting the same values in a different order results in the same map
# LANGUAGE OverloadedStrings , TemplateHaskell , QuasiQuotes , NamedFieldPuns , ViewPatterns # module TestMultiKeyedMap (tests) where import qualified Data.List as List import qualified Data.List.NonEmpty as NE import Test.Tasty (TestTree) import Test.Tasty.TH import Test.Tasty.QuickCheck import qualified Data.MultiK...
76c47d4f80a26ba6455ce181b09beed7586cb648f01cbba95a14c2ca3744d47a
Breezeemr/hitch
test_runner.cljs
(ns ^:figwheel-always hitch.test-runner (:require [hitch.selectors.mutable-var-test] [hitch.selectors.kv-store-test] [hitch.selectors.http-test] [hitch.selectors.machine-test] [hitch.graphs.immutable-test] [hitch.graphs.mutable-test] [hitch.graph...
null
https://raw.githubusercontent.com/Breezeemr/hitch/79efea3cbf601a56060237fd9add2c0b68024a03/test/hitch/test_runner.cljs
clojure
<<-- change color for cursive
(ns ^:figwheel-always hitch.test-runner (:require [hitch.selectors.mutable-var-test] [hitch.selectors.kv-store-test] [hitch.selectors.http-test] [hitch.selectors.machine-test] [hitch.graphs.immutable-test] [hitch.graphs.mutable-test] [hitch.graph...
3c7cad5aadf7964db3b95236e0f2d720e4d3d247fca103fcce6cb4e7452a4f60
janestreet/core
replace_caml_modify_for_testing.mli
(** Increment a counter whenever [caml_modify] is called. This library wraps caml_modify at the C level, and should only be used in testing code. *) (** [count ()] returns the number of times [caml_modify] has been called since the last call to {!reset}. *) external count : unit -> int = "replace_caml_mod...
null
https://raw.githubusercontent.com/janestreet/core/b0be1daa71b662bd38ef2bb406f7b3e70d63d05f/core/replace_caml_modify_for_testing/replace_caml_modify_for_testing.mli
ocaml
* Increment a counter whenever [caml_modify] is called. This library wraps caml_modify at the C level, and should only be used in testing code. * [count ()] returns the number of times [caml_modify] has been called since the last call to {!reset}. * [reset ()] reset the counter to [0].
external count : unit -> int = "replace_caml_modify_for_testing_count" [@@noalloc] external reset : unit -> unit = "replace_caml_modify_for_testing_reset" [@@noalloc]
cbf12bfff4dff892da154e5fdf6820fdbd4e4fea348e2e8676e1ca319eb68f57
input-output-hk/project-icarus-importer
Logic.hs
| Impure logic of Txp . module Pos.Txp.Logic ( module Pos.Txp.Logic.Common , module Pos.Txp.Logic.Global , module Pos.Txp.Logic.Local ) where import Pos.Txp.Logic.Common import Pos.Txp.Logic.Global import Pos.Txp.Logic.Local
null
https://raw.githubusercontent.com/input-output-hk/project-icarus-importer/36342f277bcb7f1902e677a02d1ce93e4cf224f0/txp/Pos/Txp/Logic.hs
haskell
| Impure logic of Txp . module Pos.Txp.Logic ( module Pos.Txp.Logic.Common , module Pos.Txp.Logic.Global , module Pos.Txp.Logic.Local ) where import Pos.Txp.Logic.Common import Pos.Txp.Logic.Global import Pos.Txp.Logic.Local
832eda5858099b9e459f2143282decd7f73fd8851834bdddd0ef1c08a4942799
fulcrologic/fulcro-inspect
ui_parser.cljs
(ns fulcro.inspect.ui-parser (:require [cljs.core.async :as async] [cljs.spec.alpha :as s] [com.wsscode.common.async-cljs :refer [go-catch <?]] [com.wsscode.pathom.connect :as pc] [com.wsscode.pathom.core :as p] [com.wsscode.pathom.profile :as pp] ...
null
https://raw.githubusercontent.com/fulcrologic/fulcro-inspect/a03b61cbd95384c0f03aa936368bcf5cf573fa32/src/ui/fulcro/inspect/ui_parser.cljs
clojure
(ns fulcro.inspect.ui-parser (:require [cljs.core.async :as async] [cljs.spec.alpha :as s] [com.wsscode.common.async-cljs :refer [go-catch <?]] [com.wsscode.pathom.connect :as pc] [com.wsscode.pathom.core :as p] [com.wsscode.pathom.profile :as pp] ...
c23957b95a53dc21e754423e02c0e1f6f8690141390faf41d196b04def9c3cdd
haskell/cabal
Foo.hs
module Foo where import Data.Map f :: (a -> b) -> Map k a -> Map k b f = fmap
null
https://raw.githubusercontent.com/haskell/cabal/873216ff5a62730b62c25dc8d1d3acc93974e0b1/cabal-testsuite/PackageTests/Backpack/T6385/repo/indef-0.1.0.0/Foo.hs
haskell
module Foo where import Data.Map f :: (a -> b) -> Map k a -> Map k b f = fmap
f864d29d7a6c898a3147afef2e07b6019272374801baaf9e4c2e4a3b912702aa
iloveponies/training-day
training_day_test.clj
(ns training-day-test (:use iloveponies.tests.training-day))
null
https://raw.githubusercontent.com/iloveponies/training-day/fa692c550965ab9a3e6205a8a4a30071581bb6cc/test/training_day_test.clj
clojure
(ns training-day-test (:use iloveponies.tests.training-day))
c81d2a8d7d98c94797f179aec88605761126da2dbe7ca3cd97db5d33c32dacbf
jumarko/clojure-experiments
walk.clj
(ns clojure-experiments.walk (:require [clojure.string :as string] [clojure.walk :as w])) (w/walk prn #(println "RESULT: " %) [[1 2] {:a 1 :b 20} [{:aa 1000}]]) (defn transform-keys "Recursively transforms all map keys in coll with the transform-key fn. See -underscored-clojure-map-keys-for-database...
null
https://raw.githubusercontent.com/jumarko/clojure-experiments/988fca35438d09f6d8899900b3c8867fd5659c8e/src/clojure_experiments/walk.clj
clojure
works on strings too should keep non string/keyword keys untouched prints: Walked: "A" Walked: "B" prewalk first appends the element to the parent node, then walks all the children, thus incrementing the appended element too => "[\"1\" \"[\\\"2\\\"]\" \"[\\\"3\\\" \\\"[\\\\\\\"4\\\\\\\"]\\\"]\"]" walking maps...
(ns clojure-experiments.walk (:require [clojure.string :as string] [clojure.walk :as w])) (w/walk prn #(println "RESULT: " %) [[1 2] {:a 1 :b 20} [{:aa 1000}]]) (defn transform-keys "Recursively transforms all map keys in coll with the transform-key fn. See -underscored-clojure-map-keys-for-database...
f83c4455c4f9a188d8d02b5b2cdc7a8dfe2ba2edf9478b5155d4c042f6cf7a15
yrashk/erlang
snmp_conf_test.erl
%% %% %CopyrightBegin% %% Copyright Ericsson AB 2003 - 2009 . 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 Pu...
null
https://raw.githubusercontent.com/yrashk/erlang/e1282325ed75e52a98d58f5bd9fb0fa27896173f/lib/snmp/test/snmp_conf_test.erl
erlang
%CopyrightBegin% 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 online at /. basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limit...
Copyright Ericsson AB 2003 - 2009 . 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 " -module(snmp_conf_test). -include("test_s...
c5f5d48a8dd88a2fd16fa6a45c91ae08acc3db687cf6dfcfdda0b0c7affe58db
apache/couchdb-rebar
appup_src_rt.erl
-*- erlang - indent - level : 4;indent - tabs - mode : nil -*- %% ex: ts=4 sw=4 et %% ------------------------------------------------------------------- %% rebar : Erlang Build Tools %% Copyright ( c ) 2015 ( ) %% %% Permission is hereby granted, free of charge, to any person obtaining a copy %% of this softw...
null
https://raw.githubusercontent.com/apache/couchdb-rebar/8578221c20d0caa3deb724e5622a924045ffa8bf/inttest/appup_src/appup_src_rt.erl
erlang
ex: ts=4 sw=4 et ------------------------------------------------------------------- Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal to use, copy, modify, merge, publish, distribute, sublicense, and/or sel...
-*- erlang - indent - level : 4;indent - tabs - mode : nil -*- rebar : Erlang Build Tools Copyright ( c ) 2015 ( ) in the Software without restriction , including without limitation the rights copies of the Software , and to permit persons to whom the Software is all copies or substantial portions of the...
f8a4aea1c048f14fab42abad14252c7c4cfcfa91fd9f74c2682a4a93f908241d
hpyhacking/openpoker
op_phantom.erl
-module(op_phantom). -behavior(gen_server). -export([start_link/3]). -export([init/1, terminate/2, handle_call/3, handle_cast/2, code_change/3, handle_info/2]). -export([send/2]). -include("openpoker.hrl"). %% %% Client API %% -record(pd, { pid, gid, sn }). start_link(PID, GID, SN) when is_integer(PID), is_pid(GID)...
null
https://raw.githubusercontent.com/hpyhacking/openpoker/643193c94f34096cdcfcd610bdb1f18e7bf1e45e/src/op_phantom.erl
erlang
Client API Callback Functions
-module(op_phantom). -behavior(gen_server). -export([start_link/3]). -export([init/1, terminate/2, handle_call/3, handle_cast/2, code_change/3, handle_info/2]). -export([send/2]). -include("openpoker.hrl"). -record(pd, { pid, gid, sn }). start_link(PID, GID, SN) when is_integer(PID), is_pid(GID), is_integer(SN) -> ...
03e4a7b5ab01d1497413abcd55d0734a0f07240f1307723839d1f0b49f3595d8
rfunduk/feedbackasaurus
project.clj
(defproject dieter "0.4.0" :description "Asset pipeline ring middleware" :license {:name "Eclipse Public License" :url "-v10.html"} :url "" :scm {:name "git" :dir ".."} :dependencies [[ring/ring-core "1.1.8"] [clj-time "0.4.4"] [com.google.javascript/closure-compi...
null
https://raw.githubusercontent.com/rfunduk/feedbackasaurus/0c79fbe8c324efba333614f983a9614a78542e15/checkouts/dieter/project.clj
clojure
(defproject dieter "0.4.0" :description "Asset pipeline ring middleware" :license {:name "Eclipse Public License" :url "-v10.html"} :url "" :scm {:name "git" :dir ".."} :dependencies [[ring/ring-core "1.1.8"] [clj-time "0.4.4"] [com.google.javascript/closure-compi...
4f364025f63de8b25b5d88b41073966f18817b38e902fe9d2ed008442c043ae3
swlkr/majestic-web
responses.clj
(ns {{name}}.responses (:require [hiccup.core :as h])) (defonce default-headers {"Content-Type" "text/html"}) (defn response [status body & {:as headers}] {:status status :body (h/html body) :headers (merge default-headers headers)}) (defn redirect [url] {:status 302 :body "" :headers {"Location" url ...
null
https://raw.githubusercontent.com/swlkr/majestic-web/3d247f6b5ccc4ff3662a64544a4ca27beada971b/resources/leiningen/new/majestic_web/responses.clj
clojure
(ns {{name}}.responses (:require [hiccup.core :as h])) (defonce default-headers {"Content-Type" "text/html"}) (defn response [status body & {:as headers}] {:status status :body (h/html body) :headers (merge default-headers headers)}) (defn redirect [url] {:status 302 :body "" :headers {"Location" url ...
3b7e54f0a92c97f06c0bfa5eaa64d7a0e8209b91f289ae79ed59336bf72b4703
ivanjovanovic/sicp
e-1.38.scm
Exercise 1.38 . ; In 1737 , the Swiss mathematician published a memoir ; De Fractionibus Continuis, which included a continued fraction expansion ; for e - 2, where e is the base of the natural logarithms. In this fraction, the Ni are all 1 , and the are successively 1 , 2 , 1 , 1 , 4 , 1 , 1 , 6 , 1 , 1 , 8 ,...
null
https://raw.githubusercontent.com/ivanjovanovic/sicp/a3bfbae0a0bda414b042e16bbb39bf39cd3c38f8/1.3/e-1.38.scm
scheme
De Fractionibus Continuis, which included a continued fraction expansion for e - 2, where e is the base of the natural logarithms. In this fraction, calculates approximation of e as required (display (+ e-2 2)) (newline)
Exercise 1.38 . In 1737 , the Swiss mathematician published a memoir the Ni are all 1 , and the are successively 1 , 2 , 1 , 1 , 4 , 1 , 1 , 6 , 1 , 1 , 8 , .... Write a program that uses your cont - frac procedure from exercise 1.37 to approximate e , based on Euler 's expansion . (load "e-1.37.scm") (d...
9061603b0d62ebeac365c54ce5c4f67910b847f3cfd9f262f1fcd1e0ac21b76c
tvraman/aster-math
math-reading-rules.lisp
;;; -*- Mode: LISP -*- ;;; Copyright ( C ) 1990 , 1991 , 1992 , 1993 , 1994by T. V. Raman ;;; All Rights Reserved ;;; (in-package :aster) (in-package :aster) ;;; This file contains reading rule definitions using the new ;;; defmethod reading-rule. ;;; Will eventually replace the reading rules in math-rea...
null
https://raw.githubusercontent.com/tvraman/aster-math/97b320168b7a2f04193f0db720b8012f08e455a2/lisp/read-aloud/math-reading-rules.lisp
lisp
-*- Mode: LISP -*- ;;; All Rights Reserved This file contains reading rule definitions using the new defmethod reading-rule. Will eventually replace the reading rules in math-reading-rules.lisp dummy end when done reading row Done reading all rows. Making the same changes as to the reading rule for arrays...
Copyright ( C ) 1990 , 1991 , 1992 , 1993 , 1994by T. V. Raman (in-package :aster) (in-package :aster) (def-reading-rule (math-object simple) "Simple reading rule for math objects " (let* ((pause-duration (compute-pause math-object ))) (afl:with-surrounding-pause pause-duration (cond ...
1261890b73cc3925e537a033f78c1b98e36e5267a68d6ebe09aeeb2215af52e5
ocsigen/eliom
ocamlbuild_eliom.mli
* The paths to each eliom directories module type ELIOM = sig val server_dir : Ocamlbuild_plugin.Pathname.t val type_dir : Ocamlbuild_plugin.Pathname.t val client_dir : Ocamlbuild_plugin.Pathname.t end module Make (Eliom : ELIOM) : sig val dispatcher : ?oasis_executables:Ocamlbuild_plugin.Pathname.t list ...
null
https://raw.githubusercontent.com/ocsigen/eliom/c3e0eea5bef02e0af3942b6d27585add95d01d6c/src/ocamlbuild/ocamlbuild_eliom.mli
ocaml
*/* * Internally built client and server ppx executables are invoked explicitly in order to pass the right -type arguments. Other syntax extensions are handled by {!with_package}
* The paths to each eliom directories module type ELIOM = sig val server_dir : Ocamlbuild_plugin.Pathname.t val type_dir : Ocamlbuild_plugin.Pathname.t val client_dir : Ocamlbuild_plugin.Pathname.t end module Make (Eliom : ELIOM) : sig val dispatcher : ?oasis_executables:Ocamlbuild_plugin.Pathname.t list ...
72b899d89d71ec4b822a353841a4bd0242a4dfba8a68921a1adb4cd71c015077
arttuka/astar
test_runner.cljs
(ns astar.test-runner (:require [doo.runner :refer-macros [doo-tests]] [astar.core-test])) (doo-tests 'astar.core-test)
null
https://raw.githubusercontent.com/arttuka/astar/99d769100fad1bf409ced48c7f265cd449a564ac/test/astar/test_runner.cljs
clojure
(ns astar.test-runner (:require [doo.runner :refer-macros [doo-tests]] [astar.core-test])) (doo-tests 'astar.core-test)
8884b3b0fe208d534c1bc8f95523d1a610cafaa597cda4c9d78a386f38c6ee31
clojure-interop/google-cloud-clients
GrpcFirestoreAdminStub.clj
(ns com.google.cloud.firestore.v1.stub.GrpcFirestoreAdminStub "gRPC stub implementation for Google Cloud Firestore Admin API. This class is for advanced usage and reflects the underlying API directly." (:refer-clojure :only [require comment defn ->]) (:import [com.google.cloud.firestore.v1.stub GrpcFirestoreAd...
null
https://raw.githubusercontent.com/clojure-interop/google-cloud-clients/80852d0496057c22f9cdc86d6f9ffc0fa3cd7904/com.google.cloud.firestore/src/com/google/cloud/firestore/v1/stub/GrpcFirestoreAdminStub.clj
clojure
(ns com.google.cloud.firestore.v1.stub.GrpcFirestoreAdminStub "gRPC stub implementation for Google Cloud Firestore Admin API. This class is for advanced usage and reflects the underlying API directly." (:refer-clojure :only [require comment defn ->]) (:import [com.google.cloud.firestore.v1.stub GrpcFirestoreAd...
97ca2d98acbba23ed2e428937286144db74d69357e9bcbb637290fe3ff5eba49
np/camllexer
line-directive-cr.ml
#0
null
https://raw.githubusercontent.com/np/camllexer/5222a062cb4f0d651e41a66a875c39941137b67d/tests/line-directive-cr.t/line-directive-cr.ml
ocaml
#0
2adb23a72942899bfd8c03fc679291514c855909a77b1189a7379e9d4b56e77d
uwplse/synapse
sobel-test.rkt
#lang s-exp rosette (require "../opsyn/engine/metasketch.rkt" "../opsyn/engine/eval.rkt" "../opsyn/engine/util.rkt" "../opsyn/bv/lang.rkt" "../opsyn/metasketches/imetasketch.rkt" "../benchmarks/parrot/specs.rkt" "../benchmarks/parrot/sobel.rkt" "../opsyn/engine/solver+.rkt" rosette/solver/smt/z3 rackunit "...
null
https://raw.githubusercontent.com/uwplse/synapse/10f605f8f1fff6dade90607f516550b961a10169/test/sobel-test.rkt
racket
#lang s-exp rosette (require "../opsyn/engine/metasketch.rkt" "../opsyn/engine/eval.rkt" "../opsyn/engine/util.rkt" "../opsyn/bv/lang.rkt" "../opsyn/metasketches/imetasketch.rkt" "../benchmarks/parrot/specs.rkt" "../benchmarks/parrot/sobel.rkt" "../opsyn/engine/solver+.rkt" rosette/solver/smt/z3 rackunit "...
3aceacb3e603c6b977439de551b96aefbf2bd31c2df233c50e4673c94547c1fb
ejgallego/coq-serapi
ser_safe_typing.mli
(************************************************************************) (* * The Coq Proof Assistant / The Coq Development Team *) v * INRIA , CNRS and contributors - Copyright 1999 - 2018 (* <O___,, * (see CREDITS file for the list of authors) *) \VV/ * * * *...
null
https://raw.githubusercontent.com/ejgallego/coq-serapi/61d2a5c092c1918312b8a92f43a374639d1786f9/serlib/ser_safe_typing.mli
ocaml
********************************************************************** * The Coq Proof Assistant / The Coq Development Team <O___,, * (see CREDITS file for the list of authors) // * This file is distributed under the terms of the * (see LICENSE file for...
v * INRIA , CNRS and contributors - Copyright 1999 - 2018 \VV/ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * GNU Lesser General Public License Version 2.1 Copyright 2016 - 2019 MINES ParisT...
20cd239dcaf0c6f64e4808a6a9ba542b00119fe0d890b6fec685e5388e42eb77
OCamlPro/ocp-build
buildActionsWarnings.mli
(**************************************************************************) (* *) (* Typerex Tools *) (* *) Copyrigh...
null
https://raw.githubusercontent.com/OCamlPro/ocp-build/b29be2f23ebe8db4bd3f16e035770b038876b9bc/tools/ocp-build/actions/buildActionsWarnings.mli
ocaml
************************************************************************ Typerex Tools ...
Copyright 2011 - 2017 OCamlPro SAS the GNU General Public License version 3 described in the file open Ezcmd.V2 open EZCMD.TYPES val arg_list : arg_list val set_default_is_always : unit -> unit val print_env_warnings : FileGen.t -> BuildWarnings.set -> unit val pr...
5a189060ea46d9264cdc7e3574828abfd7968ead6b7f3704169837a6cb2757c3
opencog/pln
transitive-similarity.scm
;; ============================================================================= TransitiveSimilarityRule ;; ;; <LinkType> ;; A ;; B ;; <LinkType> ;; B ;; C ;; |- ;; <LinkType> ;; A ;; C ;; Due to type system limitations , the rule has been divided into 3 : ;; transitive-similarity-similarity-...
null
https://raw.githubusercontent.com/opencog/pln/52dc099e21393892cf5529fef687a69682436b2d/opencog/pln/rules/wip/transitive-similarity.scm
scheme
============================================================================= <LinkType> A B <LinkType> B C |- <LinkType> A C transitive-similarity-similarity-rule transitive-similarity-extensional-similarity-rule transitive-similarity-intensional-similarity-rul...
TransitiveSimilarityRule Due to type system limitations , the rule has been divided into 3 : (load "formulas.scm") (define (gen-transitive-similarity-rule link-type) (BindLink (VariableList (VariableNode "$A") (VariableNode "$B") (VariableNode "$C")) (AndLink...
235072b9c41a6a254ad00858aa8c40e2defd824d916a08cf8378cc41a5bbfad4
fortytools/holumbus
InterfacesDFunction.hs
-- ---------------------------------------------------------------------------- | Module : Holumbus Copyright : Copyright ( C ) 2009 License : MIT Maintainer : ( ) Stability : experimental Portability : portable Version : 0.1 Module : Holumbus Copyright...
null
https://raw.githubusercontent.com/fortytools/holumbus/4b2f7b832feab2715a4d48be0b07dca018eaa8e8/distribution/Examples/Distribution/ChatDFunction/InterfacesDFunction.hs
haskell
---------------------------------------------------------------------------- ---------------------------------------------------------------------------- ---------------------------------------------------------------------------- the servers' interface -------------------------------------------------------------...
| Module : Holumbus Copyright : Copyright ( C ) 2009 License : MIT Maintainer : ( ) Stability : experimental Portability : portable Version : 0.1 Module : Holumbus Copyright : Copyright (C) 2009 Stefan Schmidt License : MIT Maintainer : Stefan ...
b8c8404232fd6738d8a8f33f908a54bf858726341e9e6e72fec58c14b5e62cb2
austral/austral
ExportInstantiation.mli
Part of the Austral project , under the Apache License v2.0 with LLVM Exceptions . See LICENSE file for details . SPDX - License - Identifier : Apache-2.0 WITH LLVM - exception Part of the Austral project, under the Apache License v2.0 with LLVM Exceptions. See LICENSE file for details. SPDX...
null
https://raw.githubusercontent.com/austral/austral/69b6f7de36cc9576483acd1ac4a31bf52074dbd1/lib/ExportInstantiation.mli
ocaml
* This module creates wrappers around exported functions. * Make a wrapper for an exported function. * Make wrappers for all exported functions.
Part of the Austral project , under the Apache License v2.0 with LLVM Exceptions . See LICENSE file for details . SPDX - License - Identifier : Apache-2.0 WITH LLVM - exception Part of the Austral project, under the Apache License v2.0 with LLVM Exceptions. See LICENSE file for details. SPDX...
2d335c1361a644d6918e1b5675d09e128e9ab52fe8dbab171a9c05c630846791
ladymeyy/exceptional-monkeys-game-clojure-server
core_test.clj
(ns exceptional-monkeys-game-server.core-test (:require [clojure.test :refer :all] [exceptional-monkeys-game-server.core1 :refer :all])) (deftest a-test (testing "FIXME, I fail." (is (= 0 1))))
null
https://raw.githubusercontent.com/ladymeyy/exceptional-monkeys-game-clojure-server/1e39b6d6cd9b30b15f21d7567bf1070e9fbb065b/test/exceptional_monkeys_game_server/core_test.clj
clojure
(ns exceptional-monkeys-game-server.core-test (:require [clojure.test :refer :all] [exceptional-monkeys-game-server.core1 :refer :all])) (deftest a-test (testing "FIXME, I fail." (is (= 0 1))))
68c17ea4454ca6a14949a5bae177e15138c997d4ea32a3f10102f051893c5ad6
dongcarl/guix
julia-jll.scm
;;; GNU Guix --- Functional package management for GNU Copyright © 2021 < > Copyright © 2021 < > Copyright © 2021 < > ;;; ;;; This file is part of GNU Guix. ;;; GNU is free software ; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Fre...
null
https://raw.githubusercontent.com/dongcarl/guix/d2b30db788f1743f9f8738cb1de977b77748567f/gnu/packages/julia-jll.scm
scheme
GNU Guix --- Functional package management for GNU This file is part of GNU Guix. you can redistribute it and/or modify it either version 3 of the License , or ( at your option) any later version. GNU Guix is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied wa...
Copyright © 2021 < > Copyright © 2021 < > Copyright © 2021 < > under the terms of the GNU General Public License as published by You should have received a copy of the GNU General Public License along with GNU . If not , see < / > . (define-module (gnu packages julia-jll) #:use-module ((guix ...
531f27102b7925eed98a2e4b37284e14ed904170ac428c3df49c6f803c0fb71e
lucywang000/clj-statecharts
utils_test.cljc
(ns statecharts.utils-test (:require [statecharts.utils :as u] [clojure.test :refer [deftest is are use-fixtures testing]])) (deftest test-map-kv (is (= (u/map-kv (fn [k v] [k (inc v)]) {:a 1 :b 2}) {:a 2 :b 3}))) (deftest test-map-vals (is (= (u/map-vals inc {:a 1 :b 2}) {:a 2 :b ...
null
https://raw.githubusercontent.com/lucywang000/clj-statecharts/9a3c34f76b658efc5c20479a136c26124f6380bb/test/statecharts/utils_test.cljc
clojure
(ns statecharts.utils-test (:require [statecharts.utils :as u] [clojure.test :refer [deftest is are use-fixtures testing]])) (deftest test-map-kv (is (= (u/map-kv (fn [k v] [k (inc v)]) {:a 1 :b 2}) {:a 2 :b 3}))) (deftest test-map-vals (is (= (u/map-vals inc {:a 1 :b 2}) {:a 2 :b ...
280758d73f69750511909da7eb75659aa02310b5366539ef6b6053125a726fb6
bract/bract.core
impl.clj
Copyright ( c ) . All rights reserved . ; The use and distribution terms for this software are covered by the ; Eclipse Public License 1.0 (-1.0.php) ; which can be found in the file LICENSE at the root of this distribution. ; By using this software in any fashion, you are agreeing to be bound by ; the ...
null
https://raw.githubusercontent.com/bract/bract.core/625b8738554b1e1b61bd8522397fb698fb12d3d3/src/bract/core/impl.clj
clojure
The use and distribution terms for this software are covered by the Eclipse Public License 1.0 (-1.0.php) which can be found in the file LICENSE at the root of this distribution. By using this software in any fashion, you are agreeing to be bound by the terms of this license. You must not remove this ...
Copyright ( c ) . All rights reserved . (ns bract.core.impl (:require [clojure.main :refer [demunge]] [clojure.pprint :as pp] [clojure.set :as set] [clojure.string :as string] [keypin.util :as kputil] [bract.core.echo :as echo] [bract.core.type :as type] [bract.core.u...
c080ed523f76a653949d2e8de29fcfbf958e2866f3ea1dd2d3b24fd5cf7978fa
samrushing/irken-compiler
t_literal7.scm
;(datatype symbol (:t string)) 'testing
null
https://raw.githubusercontent.com/samrushing/irken-compiler/690da48852d55497f873738df54f14e8e135d006/tests/t_literal7.scm
scheme
(datatype symbol (:t string))
'testing
66b679046a1afe8b903d5c0b41d73295b614365e781e25b18abe5201e079eec6
clojure-quant/infra-guix
ocean.scm
(use-modules (awb99 packages systemcli) (awb99 packages programming) ) (define ocean-packages (append ; clojure apps clojure-packages ;node-packages ; python-packages ; r-packages ; build-packages ; linux cli security-packages archive-packages monitor-packages netw...
null
https://raw.githubusercontent.com/clojure-quant/infra-guix/f004f45d54dd8c6e996764738021fe1a8fbd9567/manifest/ocean.scm
scheme
clojure apps node-packages python-packages r-packages build-packages linux cli apps services
(use-modules (awb99 packages systemcli) (awb99 packages programming) ) (define ocean-packages (append clojure-packages security-packages archive-packages monitor-packages network-packages file-transfer-packages shell-packages hardware-packages guix-core-packages ...
a2f1ac98ba8d0d583532337da0ca979637fb195c8cb22a3d6499ed41ffe143a4
clash-lang/ghc-tcplugins-extra
Type.hs
module Internal.Type (substType) where import Data.Maybe (fromMaybe) import GhcPlugins hiding (mkSubst) import TcType (TcType) import TyCoRep (Type (..)) -- | Apply substitutions in Types -- -- __NB:__ Doesn't substitute under binders substType :: [(TcTyVar, TcType)] -> TcType -> TcType substType subst tv@(TyVa...
null
https://raw.githubusercontent.com/clash-lang/ghc-tcplugins-extra/20a6cc71b6fef6e92bca4eda0abdb776403ceb31/src-ghc-8.6/Internal/Type.hs
haskell
| Apply substitutions in Types __NB:__ Doesn't substitute under binders TODO: Is it safe to do "dumb" substitution under binders? ForAllTy tv (substType subst ty)
module Internal.Type (substType) where import Data.Maybe (fromMaybe) import GhcPlugins hiding (mkSubst) import TcType (TcType) import TyCoRep (Type (..)) substType :: [(TcTyVar, TcType)] -> TcType -> TcType substType subst tv@(TyVarTy v) = fromMaybe tv (lookup v subst) substType subst (AppTy t1 t2) = AppTy ...
4942caa89171b4fa580b87258847c3e8921f73f2dfab394929f5070ecae0df58
kmi/irs
heavy-tests.lisp
(in-package "OCML") (in-ontology execution-history) (def-instance #_FulfilmentprocessInstance0 #_COBRA:ProcessInstance (( #_COBRA:performs |-super.org/etel/bpel/Fulfilment/Fulfilment#Fulfilment| ) )) (def-instance #_instant13573399 #_TIME:TimeInstant (( #_TIME:yearOf 2008 ) ( #_TIME:monthOf 5 ) ( #_TIME:dayOf 12 ...
null
https://raw.githubusercontent.com/kmi/irs/e1b8d696f61c6b6878c0e92d993ed549fee6e7dd/ontologies/domains/execution-history/heavy-tests.lisp
lisp
(in-package "OCML") (in-ontology execution-history) (def-instance #_FulfilmentprocessInstance0 #_COBRA:ProcessInstance (( #_COBRA:performs |-super.org/etel/bpel/Fulfilment/Fulfilment#Fulfilment| ) )) (def-instance #_instant13573399 #_TIME:TimeInstant (( #_TIME:yearOf 2008 ) ( #_TIME:monthOf 5 ) ( #_TIME:dayOf 12 ...
b4d0f822317997471c08676bb56edd08a71371b16ab153d942836b41c7285060
facebook/infer
Textual.ml
* Copyright ( c ) Facebook , Inc. and its affiliates . * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree . * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the ...
null
https://raw.githubusercontent.com/facebook/infer/8a02f19fb30b9d4f8d74a8b31dc8d7206070f419/infer/src/textual/Textual.ml
ocaml
procedure name [name] is attached to the name space [enclosing_class] field name [name] must be declared in type [enclosing_class] [fresh set] returns an ident that is strictly greater than all idents in [set] TODO(T133190934) see the specification of Instr.is_ready_for_to_sil_conversion above
* Copyright ( c ) Facebook , Inc. and its affiliates . * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree . * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the ...
f7e8661689b37f466f096c121550232971bbe51d2ed62ed3b61b3415a8d6dea5
galdor/tungsten
ascii.lisp
(in-package :text-test) (deftest encode-string/ascii () (check-encode-string :ascii (#() "") (#(102 111 111) "foo") (#(98 97 114) "foobar" :start 3) (#(102 111 111) "foobar" :end 3) (#() "foobar" :start 3 :end 3) (#(98) "foobar" :start 3 :end 4))) (deftest encode-string/ascii/unencodable-charac...
null
https://raw.githubusercontent.com/galdor/tungsten/5d6e71fb89af32ab3994c5b2daf8b902a5447447/tungsten-text/t/ascii.lisp
lisp
(in-package :text-test) (deftest encode-string/ascii () (check-encode-string :ascii (#() "") (#(102 111 111) "foo") (#(98 97 114) "foobar" :start 3) (#(102 111 111) "foobar" :end 3) (#() "foobar" :start 3 :end 3) (#(98) "foobar" :start 3 :end 4))) (deftest encode-string/ascii/unencodable-charac...
56a91d32af4bfb58d936963bff57194e0a5d0cb9dcedd27c1869d8c7c8f2186f
jabber-at/ejabberd-contrib
mod_grafite.erl
%%%---------------------------------------------------------------------- %%% File : mod_grafite.erl Author : %%% Purpose : Gathers statistics and publishes via statsd/grafite %%% Created : I d : $ I d : mod_grafite.erl 0000 2016 - 07 - 11 16:42:30Z xmppjingle $ %%%------------------------------------...
null
https://raw.githubusercontent.com/jabber-at/ejabberd-contrib/d5eb036b786c822d9fd56f881d27e31688ec6e91/mod_grafite/src/mod_grafite.erl
erlang
---------------------------------------------------------------------- File : mod_grafite.erl Purpose : Gathers statistics and publishes via statsd/grafite Created : ---------------------------------------------------------------------- Definitions ================================================================...
Author : I d : $ I d : mod_grafite.erl 0000 2016 - 07 - 11 16:42:30Z xmppjingle $ -module(mod_grafite). -author(''). -behaviour(gen_mod). -include("logger.hrl"). -include("xmpp.hrl"). -define(HOOKS, [offline_message_hook, sm_register_connection_hook, sm_remove_connection_hook, ...
1745fb861f20d040e208ae058e2b1833d45adcc898a531f18b278e776235e2e6
exercism/haskell
ZebraPuzzle.hs
module ZebraPuzzle (Resident(..), Solution(..), solve) where import Control.Monad (guard) import Data.List (nub, find) import Data.Maybe (fromJust) data Color = Red | Green | Yellow | Blue | Ivory deriving (Eq, Show, Enum) data Resident = Englishman | Spaniard | Ukrainian | Norwegian | Japanese deriving (Eq, Show...
null
https://raw.githubusercontent.com/exercism/haskell/ae17e9fc5ca736a228db6dda5e3f3b057fa6f3d0/exercises/practice/zebra-puzzle/.meta/examples/success-standard/src/ZebraPuzzle.hs
haskell
prune search tree as early as possible
module ZebraPuzzle (Resident(..), Solution(..), solve) where import Control.Monad (guard) import Data.List (nub, find) import Data.Maybe (fromJust) data Color = Red | Green | Yellow | Blue | Ivory deriving (Eq, Show, Enum) data Resident = Englishman | Spaniard | Ukrainian | Norwegian | Japanese deriving (Eq, Show...
88b4c178da584e4fd0a9068d9a00de12f5fc09e03b3b760543e8ca5c934d5def
racket/old-plt
drom-algol-structs.scm
;; structs for dromedary (define-struct <user-type> () (make-inspector)) (define-struct (|NumT| <user-type>) (tlist) (make-inspector)) (define-struct (|FunT| <user-type>) (tlist) (make-inspector)) (define-struct (|Num| <user-type>) (tlist) (make-inspector)) (define-struct (|Lam| <user-type>) (tlist) (make-inspector)) (...
null
https://raw.githubusercontent.com/racket/old-plt/a580d75deae2a0d2f3d8a93bc3c4f8f1f619b5b7/collects/tests/mzscheme/match/drom-algol-structs.scm
scheme
structs for dromedary structs for algol Expressions plus numbers, strings, and booleans Statements for values declarations
(define-struct <user-type> () (make-inspector)) (define-struct (|NumT| <user-type>) (tlist) (make-inspector)) (define-struct (|FunT| <user-type>) (tlist) (make-inspector)) (define-struct (|Num| <user-type>) (tlist) (make-inspector)) (define-struct (|Lam| <user-type>) (tlist) (make-inspector)) (define-struct (|Val| <use...
e7417539510b5ca9df83b0b1ad01ebc5d387ee0efcb291d1c52a148963c53862
haskell-github/github
Teams.hs
{-# LANGUAGE DeriveDataTypeable #-} # LANGUAGE DeriveGeneric # # LANGUAGE NoImplicitPrelude # {-# LANGUAGE OverloadedStrings #-} ----------------------------------------------------------------------------- -- | -- License : BSD-3-Clause Maintainer : < > -- module GitHub.Data.Teams where import ...
null
https://raw.githubusercontent.com/haskell-github/github/81d9b658c33a706f18418211a78d2690752518a4/src/GitHub/Data/Teams.hs
haskell
# LANGUAGE DeriveDataTypeable # # LANGUAGE OverloadedStrings # --------------------------------------------------------------------------- | License : BSD-3-Clause JSON Instances | Filters members returned by their role in the team. ^ all members of the team. ^ team maintainers ^ normal members of the tea...
# LANGUAGE DeriveGeneric # # LANGUAGE NoImplicitPrelude # Maintainer : < > module GitHub.Data.Teams where import GitHub.Data.Definitions import GitHub.Data.Id (Id) import GitHub.Data.Name (Name) import GitHub.Data.Repos (Repo) import GitHub.Data.URL (URL) import GitHub.In...
dd55931f7973db97819993ac40823c46e18a2348df8b6dd9d6a8e714a63319b1
patricoferris/ocaml-multicore-monorepo
caqti_query.ml
Copyright ( C ) 2019 - -2021 Petter A. Urkedal < > * * 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 Foundation , either version 3 of the License , or ( at your * option ) any la...
null
https://raw.githubusercontent.com/patricoferris/ocaml-multicore-monorepo/22b441e6727bc303950b3b37c8fbc024c748fe55/duniverse/ocaml-caqti/lib/caqti_query.ml
ocaml
Using non-SQL quoting, to avoid issues with newlines and other control * characters when printing to log files.
Copyright ( C ) 2019 - -2021 Petter A. Urkedal < > * * 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 Foundation , either version 3 of the License , or ( at your * option ) any la...
bbf4c5caf33eb9afd78f671f264f57ae10bf53f4f688232b011aea41d7cb5505
verystable/warframe-autobuilder
ComparatorsGenerator.hs
# LANGUAGE NoImplicitPrelude # {-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE RankNTypes #-} -- | -- Module : Ranker.ComparatorsGenerator -- Maintainer : -- Stability : experimental -- -- This module converts user input comparator name into -- an actual comparator type. module Ranker.ComparatorsGener...
null
https://raw.githubusercontent.com/verystable/warframe-autobuilder/015e0bb6812711ea27071816d054cbaa1c65770b/src/Ranker/ComparatorsGenerator.hs
haskell
# LANGUAGE OverloadedStrings # # LANGUAGE RankNTypes # | Module : Ranker.ComparatorsGenerator Maintainer : Stability : experimental This module converts user input comparator name into an actual comparator type. | Converts a user comparator request into a Comparator type
# LANGUAGE NoImplicitPrelude # module Ranker.ComparatorsGenerator where import ClassyPrelude import Types.ComprehensiveWeapon import Types.GenericWeapon import Data.FuzzySet as F import Ranker.Comparators betterMatch' :: (Ord a1, Fractional a1) =>...
58d1758c4579587e51998c72586dad2708b6ca790dbdb9cb10177f26fcdd4334
gebi/jungerl
ce_rec.erl
BEGIN ce_rec.erl % % % %%% %%% ce - Miscellaneous Programming Support Libraries for Erlang/OTP %%% Copyright (c)2003 Cat's Eye Technologies. All rights reserved. %%% %%% Redistribution and use in source and binary forms, with or without %%% modification, are permitted provided that the following conditions %%% are m...
null
https://raw.githubusercontent.com/gebi/jungerl/8f5c102295dbe903f47d79fd64714b7de17026ec/lib/ce/src/ce_rec.erl
erlang
% % ce - Miscellaneous Programming Support Libraries for Erlang/OTP Copyright (c)2003 Cat's Eye Technologies. 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 mu...
Neither the name of Cat 's Eye Technologies nor the names of its CONTRIBUTORS ` ` AS IS '' AND ANY EXPRESS OR IMPLIED WARRANTIES , DISCLAIMED . IN NO EVENT SHALL THE REGENTS OR LIABLE FOR ANY DIRECT , INDIRECT , INCIDENTAL , SPECIAL , EXEMPLARY , PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES ; LOSS OF USE ,...
7e61bb76db0ad24e1bd17f9867c0296e773a10588ae3e763cc887c1e455c99ca
swarmpit/swarmpit
form_settings.cljs
(ns swarmpit.component.service.form-settings (:require [material.components :as comp] [swarmpit.component.state :as state] [swarmpit.component.service.form-ports :as ports] [swarmpit.component.parser :refer [parse-int]] [swarmpit.ajax :as ajax] [swarmpit.rou...
null
https://raw.githubusercontent.com/swarmpit/swarmpit/38ffbe08e717d8620bf433c99f2e85a9e5984c32/src/cljs/swarmpit/component/service/form_settings.cljs
clojure
(ns swarmpit.component.service.form-settings (:require [material.components :as comp] [swarmpit.component.state :as state] [swarmpit.component.service.form-ports :as ports] [swarmpit.component.parser :refer [parse-int]] [swarmpit.ajax :as ajax] [swarmpit.rou...
fcb2a5abd5d525793ae86c58f51bc658586faf8e334054b3d7661aa9f3f4f170
akc/hops
Setup.hs
import Distribution.Simple import System.Process import System.Exit main = defaultMainWithHooks $ simpleUserHooks { postBuild = makeManPage } makeManPage _ _ _ _ = runCommand "make hops.1" >>= waitForProcess >>= exitWith
null
https://raw.githubusercontent.com/akc/hops/b80853b5ca9383e740ae07634bf83216f686a087/Setup.hs
haskell
import Distribution.Simple import System.Process import System.Exit main = defaultMainWithHooks $ simpleUserHooks { postBuild = makeManPage } makeManPage _ _ _ _ = runCommand "make hops.1" >>= waitForProcess >>= exitWith
4dda61cb5eda943ac984e5bca353fc53012aad5659af56f891bb6c2094aba35f
DaMSL/K3
ConstraintSet.hs
# LANGUAGE GADTs , TemplateHaskell , LambdaCase , MultiParamTypeClasses # {-| A module defining the behavior of constraint sets. The actual constraint set data type is defined in @Language.K3.TypeSystem.Data.TypesAndConstraints@ to avoid a cyclic reference. -} module Language.K3.TypeSystem.Data.ConstraintSet ( ...
null
https://raw.githubusercontent.com/DaMSL/K3/51749157844e76ae79dba619116fc5ad9d685643/src/Language/K3/TypeSystem/Data/ConstraintSet.hs
haskell
| A module defining the behavior of constraint sets. The actual constraint set data type is defined in @Language.K3.TypeSystem.Data.TypesAndConstraints@ to avoid a cyclic reference. * Constraint set data structure definition. Filter out self-constraints. * Constraint set operations |Performs a query against...
# LANGUAGE GADTs , TemplateHaskell , LambdaCase , MultiParamTypeClasses # module Language.K3.TypeSystem.Data.ConstraintSet ( csEmpty , csNull , csSing , csInsert , csFromList , csToList , csFromSet , csToSet , csSubset , csUnion , csUnions , csQuery , ConstraintSet(..) , ConstraintSetQuery(..) ) where import Data.Fun...
1861f058b404f445cfd04a33620a1af83e3e305cafef77e51030b68019f3e543
haskell/haskell-language-server
WhereDeclLowerInFileWithCommentsBeforeIt.expected.hs
module Asdf (f , where') -- hello -- world where import Data.Int f :: Int64 -> Int64 f = id' where id' = id g :: Int -> Int g = id where' :: Int -> Int where' = id
null
https://raw.githubusercontent.com/haskell/haskell-language-server/fdbc555a9245cb3761c2bf7335f3d18b8cf7673c/plugins/hls-refactor-plugin/test/data/import-placement/WhereDeclLowerInFileWithCommentsBeforeIt.expected.hs
haskell
hello world
module Asdf (f , where') where import Data.Int f :: Int64 -> Int64 f = id' where id' = id g :: Int -> Int g = id where' :: Int -> Int where' = id
24103b25ebdbd6f9dce5e8822c01e3bf2db3013e83d69c38dcd0d9051806f8f2
TrustInSoft/tis-interpreter
MemZeroAlias.ml
Modified by TrustInSoft (**************************************************************************) (* *) This file is part of WP plug - in of Frama - C. (* ...
null
https://raw.githubusercontent.com/TrustInSoft/tis-interpreter/33132ce4a825494ea48bf2dd6fd03a56b62cc5c3/src/plugins/wp/MemZeroAlias.ml
ocaml
************************************************************************ alternatives) ...
Modified by TrustInSoft This file is part of WP plug - in of Frama - C. Copyright ( C ) 2007 - 2015 CEA ( Commissariat a l'energie atomique et aux energies Lesser General Public License as published by the Free Soft...
eeee6f07e66623c969a90fd3a6d50ed6e8bddc8206a5b3b761a377452437a38a
lsevero/abclj
utils.clj
(ns game-of-life.utils "Namespace with utils to convert between CL and CLJ data structures. There is also helper functions to ease the mismatch between Java and CLJ." (:require [abclj.core :refer [cl->clj cl-cons cl-nil cons->vec]] [clojure.walk :refer [postwalk]] [game-of-life.life :as l...
null
https://raw.githubusercontent.com/lsevero/abclj/9f5a10aa98789a94f550b13d07e57b4fcefccfab/examples/game-of-life/src/game_of_life/utils.clj
clojure
(ns game-of-life.utils "Namespace with utils to convert between CL and CLJ data structures. There is also helper functions to ease the mismatch between Java and CLJ." (:require [abclj.core :refer [cl->clj cl-cons cl-nil cons->vec]] [clojure.walk :refer [postwalk]] [game-of-life.life :as l...
f78f6b83969268dad78774e3f706713f88af425db57acdf5c9f1e5079db7f133
vseloved/cl-nlp
embeddings.lisp
( c ) 2017 Vsevolod Dyomkin (in-package #:napi) (named-readtables:in-readtable rutilsx-readtable) (defparameter *embedding-limit* 1000000) (defparameter *vecs* (list '*pubmed*)) (defmethod api-show ((endpoint (eql :embed))) (api-page ("Embeddings" :script "embeddings") (:h1 "Embeddings") ...
null
https://raw.githubusercontent.com/vseloved/cl-nlp/f180b6c3c0b9a3614ae43f53a11bc500767307d0/api/embeddings.lisp
lisp
( c ) 2017 Vsevolod Dyomkin (in-package #:napi) (named-readtables:in-readtable rutilsx-readtable) (defparameter *embedding-limit* 1000000) (defparameter *vecs* (list '*pubmed*)) (defmethod api-show ((endpoint (eql :embed))) (api-page ("Embeddings" :script "embeddings") (:h1 "Embeddings") ...
5a63233734233f88d951ddeb3819a1b09b18f72f22146a2643e286fea2ed4516
mzp/coq-ide-for-ios
libobject.ml
(************************************************************************) v * The Coq Proof Assistant / The Coq Development Team < O _ _ _ , , * INRIA - CNRS - LIX - LRI - PPS - Copyright 1999 - 2010 \VV/ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *...
null
https://raw.githubusercontent.com/mzp/coq-ide-for-ios/4cdb389bbecd7cdd114666a8450ecf5b5f0391d3/coqlib/library/libobject.ml
ocaml
********************************************************************** // * This file is distributed under the terms of the * GNU Lesser General Public License Version 2.1 ********************************************************************** The suggested object declaration is...
v * The Coq Proof Assistant / The Coq Development Team < O _ _ _ , , * INRIA - CNRS - LIX - LRI - PPS - Copyright 1999 - 2010 \VV/ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * $ I d : libobject.ml 13323 ...
3a6fc8fb060f5464aef503762c3d9358598bf0af8e02e6b48ddf9fd767cc44a3
flyspeck/flyspeck
complexes.ml
(* ========================================================================= *) (* The type "real^2" regarded as the complex numbers. *) (* *) ( c ) Copyright , 1998 - 2008 ...
null
https://raw.githubusercontent.com/flyspeck/flyspeck/05bd66666b4b641f49e5131a37830f4881f39db9/azure/hol-light-nat/Multivariate/complexes.ml
ocaml
========================================================================= The type "real^2" regarded as the complex numbers. ========================================================================= ---------------...
( c ) Copyright , 1998 - 2008 ( c ) Copyright , 2010 open Hol_core open Products open Vectors open Topology open Convex open Integration new_type_abbrev("complex",`:real^2`);; let prioritize_complex() = overload_interface("--",`vec...
4d53f88178f2a5ab49b2f1c2928b3b5422339501d231dc6f919f372882cfa168
xclerc/ocamljava
scheduledFuture.ml
* This file is part of library . * Copyright ( C ) 2007 - 2015 . * * 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 Foundation ; either version 3 of the License , or * ( at yo...
null
https://raw.githubusercontent.com/xclerc/ocamljava/8330bfdfd01d0c348f2ba2f0f23d8f5a8f6015b1/library/concurrent/src/futures/scheduledFuture.ml
ocaml
Null value Miscellaneous
* This file is part of library . * Copyright ( C ) 2007 - 2015 . * * 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 Foundation ; either version 3 of the License , or * ( at yo...
0f82517fc66394d51b87c2e03835307eeebdc94e5ee1ec71e118aa518e414d9c
atlas-engineer/nyxt
proxy.lisp
SPDX - FileCopyrightText : Atlas Engineer LLC SPDX - License - Identifier : BSD-3 - Clause (nyxt:define-package :nyxt/proxy-mode (:shadow #:proxy) ; Because of exported slot of the same below. (:documentation "Proxy mode can be used to do all the networking (optionally including downloads) via a proxy server. ...
null
https://raw.githubusercontent.com/atlas-engineer/nyxt/efebb688ade56e59039d88059fab26b7de719434/source/mode/proxy.lisp
lisp
Because of exported slot of the same below.
SPDX - FileCopyrightText : Atlas Engineer LLC SPDX - License - Identifier : BSD-3 - Clause (nyxt:define-package :nyxt/proxy-mode (:documentation "Proxy mode can be used to do all the networking (optionally including downloads) via a proxy server. It can also be configured to forward all the networking through lo...