_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
e15cba979600bc2acb658c433095ab35dc037adea7f19a0dbf2cc006f2a52986
thattommyhall/offline-4clojure
p9.clj
Sets : When operating on a set , the function returns a new set with one or more keys " added " . ;; tags - ;; restricted - (ns offline-4clojure.p9 (:use clojure.test)) (def __ ;; your solution here ) (defn -main [] (are [soln] soln (= #{1 2 3 4} (conj #{1 4 3} __)) ))
null
https://raw.githubusercontent.com/thattommyhall/offline-4clojure/73e32fc6687816aea3c514767cef3916176589ab/src/offline_4clojure/p9.clj
clojure
tags - restricted - your solution here
Sets : When operating on a set , the function returns a new set with one or more keys " added " . (ns offline-4clojure.p9 (:use clojure.test)) (def __ ) (defn -main [] (are [soln] soln (= #{1 2 3 4} (conj #{1 4 3} __)) ))
89c4fada5135c2d28375cb99db226516e7ae2c2f1a2a7ae5c89b7af81582f840
footprintanalytics/footprint-web
timeline.clj
(ns metabase.api.timeline "/api/timeline endpoints." (:require [compojure.core :refer [DELETE GET POST PUT]] [metabase.api.common :as api] [metabase.models.collection :as collection] [metabase.models.timeline :as timeline :refer [Timeline]] [metabase.models.timeline-e...
null
https://raw.githubusercontent.com/footprintanalytics/footprint-web/d3090d943dd9fcea493c236f79e7ef8a36ae17fc/src/metabase/api/timeline.clj
clojure
`collection_id` `nil` means we need to assoc 'root' collection because hydrate `:collection` needs a proper `:id` to work.
(ns metabase.api.timeline "/api/timeline endpoints." (:require [compojure.core :refer [DELETE GET POST PUT]] [metabase.api.common :as api] [metabase.models.collection :as collection] [metabase.models.timeline :as timeline :refer [Timeline]] [metabase.models.timeline-e...
5fa4d3c577e3d34d67b4604925792100f18857dfdfd5e566a88cf46aae1d7b89
monadbobo/ocaml-core
std.ml
include Async_core.Std include Async_unix.Std include Async_extra.Std (* Check that no Async library code accidentally created the scheduler. *) let () = assert (Scheduler.is_ready_to_initialize ())
null
https://raw.githubusercontent.com/monadbobo/ocaml-core/9c1c06e7a1af7e15b6019a325d7dbdbd4cdb4020/base/async/lib/std.ml
ocaml
Check that no Async library code accidentally created the scheduler.
include Async_core.Std include Async_unix.Std include Async_extra.Std let () = assert (Scheduler.is_ready_to_initialize ())
b08ee50a455af102fa348bba91b786ff992f1cd987edefafe26b09cb378faf89
ajhc/ajhc
Binary.hs
module E.Binary() where import Data.Binary import E.Type import FrontEnd.HsSyn() import Name.Binary() import {-# SOURCE #-} Info.Binary(putInfo,getInfo) instance Binary TVr where put TVr { tvrIdent = eid, tvrType = e, tvrInfo = nf} = do put eid put e putInfo nf get = do x <- ...
null
https://raw.githubusercontent.com/ajhc/ajhc/8ef784a6a3b5998cfcd95d0142d627da9576f264/src/E/Binary.hs
haskell
# SOURCE #
module E.Binary() where import Data.Binary import E.Type import FrontEnd.HsSyn() import Name.Binary() instance Binary TVr where put TVr { tvrIdent = eid, tvrType = e, tvrInfo = nf} = do put eid put e putInfo nf get = do x <- get e <- get nf <- getInfo ...
5dd1a01e7ddfec48e6cb25af39b90230f2769e368af2f36ae67142103280d882
mischov/reaver
reaver_test.clj
(ns reaver-test (:require [clojure.test :as test :refer [deftest is testing]] [reaver]) (:import [org.jsoup.nodes Document Element])) (def basic-html-doc "<html> <head></head> <body> <div id=\"one\" class=\"first\"> <p>Hello...</p> </div> <div id=\"two\" class=\"secon...
null
https://raw.githubusercontent.com/mischov/reaver/99c10e8ff00f72eae55a36fe9f59f3dcae15d64e/test/reaver_test.clj
clojure
(ns reaver-test (:require [clojure.test :as test :refer [deftest is testing]] [reaver]) (:import [org.jsoup.nodes Document Element])) (def basic-html-doc "<html> <head></head> <body> <div id=\"one\" class=\"first\"> <p>Hello...</p> </div> <div id=\"two\" class=\"secon...
0348ba76d79dbf81475e816f7da12b11c3f7c13c61ceccf592cf8f6169f0026a
noitcudni/google-webmaster-tools-bulk-outdated-content-removal
core.cljs
(ns google-webmaster-tools-bulk-outdated-content-removal-clj.background.core (:require-macros [cljs.core.async.macros :refer [go go-loop]]) (:require [goog.string :as gstring] [goog.string.format] [cljs.core.async :refer [<! chan]] [chromex.logging :refer-macros [log info warn er...
null
https://raw.githubusercontent.com/noitcudni/google-webmaster-tools-bulk-outdated-content-removal/e618a9b90a8d2e2f0fccbeb905619b7e8d6a448d/src/background/google_webmaster_tools_bulk_outdated_content_removal_clj/background/core.cljs
clojure
-- clients manipulation --------------------------------------------------------------------------------------------------- cleanup -- client event loop ------------------------------------------------------------------------------------------------------ clean up errors from the previous run tell popup about th...
(ns google-webmaster-tools-bulk-outdated-content-removal-clj.background.core (:require-macros [cljs.core.async.macros :refer [go go-loop]]) (:require [goog.string :as gstring] [goog.string.format] [cljs.core.async :refer [<! chan]] [chromex.logging :refer-macros [log info warn er...
ec64dbd7ecac0990100f5ef697a420ea81e94e8d57fc18853e82ec9ca79dffc0
PrecursorApp/precursor
config.cljs
(ns frontend.config (:require [frontend.utils :as utils])) (def subdomain (aget js/window "Precursor" "subdomain")) (def hostname (aget js/window "Precursor" "hostname")) (def scheme (.getScheme utils/parsed-uri)) (def port (.getPort utils/parsed-uri)) (def stripe-publishable-key (aget js/window "Precursor" "stripe-...
null
https://raw.githubusercontent.com/PrecursorApp/precursor/30202e40365f6883c4767e423d6299f0d13dc528/src-cljs/frontend/config.cljs
clojure
(ns frontend.config (:require [frontend.utils :as utils])) (def subdomain (aget js/window "Precursor" "subdomain")) (def hostname (aget js/window "Precursor" "hostname")) (def scheme (.getScheme utils/parsed-uri)) (def port (.getPort utils/parsed-uri)) (def stripe-publishable-key (aget js/window "Precursor" "stripe-...
31619c3d4d04a90345e1a77ccdbfe9b876d477e07f2f33abf208cbe1ee2ed96a
Vagabond/teleport
teleport_node_watcher.erl
-module(teleport_node_watcher). -behaviour(gen_server). %% API -export([start_link/1]). %% gen_server callbacks -export([init/1, handle_call/3, handle_cast/2, handle_info/2, terminate/2, code_change/3]). -record(state, { node :: atom() }). start_link(Node) -> gen_server:start_link(?MOD...
null
https://raw.githubusercontent.com/Vagabond/teleport/6fbb2283034a920cb0f70d6670d983bb0c241f98/src/teleport_node_watcher.erl
erlang
API gen_server callbacks
-module(teleport_node_watcher). -behaviour(gen_server). -export([start_link/1]). -export([init/1, handle_call/3, handle_cast/2, handle_info/2, terminate/2, code_change/3]). -record(state, { node :: atom() }). start_link(Node) -> gen_server:start_link(?MODULE, [Node], []). init([Node])...
c48f3bb82739807efd6e280d8de13323ccdc2dd3542d05483535ec40c2c6ac71
kfish/const-math-ghc-plugin
arith014.hs
-- Test behaviour of fromInteger when the target type is out of range. main :: IO () main = print [ fromInteger maxInt2 :: Int, fromInteger minInt2 :: Int ] maxInt2 = fromIntegral (maxBound :: Int) * 2 :: Integer minInt2 = fromIntegral (minBound + 1 :: Int) * 2 :: Integer
null
https://raw.githubusercontent.com/kfish/const-math-ghc-plugin/c1d269e0ddc72a782c73cca233ec9488f69112a9/tests/ghc-7.6/arith014.hs
haskell
Test behaviour of fromInteger when the target type is out of range.
main :: IO () main = print [ fromInteger maxInt2 :: Int, fromInteger minInt2 :: Int ] maxInt2 = fromIntegral (maxBound :: Int) * 2 :: Integer minInt2 = fromIntegral (minBound + 1 :: Int) * 2 :: Integer
592489eea681cba032c3861957d8139a518e18f990c1f2b1cb6c6a386fe34f25
wadehennessey/wcl
math.lisp
( C ) Copyright 1990 - 2014 by . All rights reserved . (defun abs (n) (if (plusp n) n (- n))) (defun-inline acos (x) (double_acos (float x))) (defun arith-error (x y) (error "~S is not a number" (if (numberp x) y x))) ;;; HEY! write a version that uses %ash[l,r] and detects overflow? (defmeth...
null
https://raw.githubusercontent.com/wadehennessey/wcl/841316ffe06743d4c14b4ed70819bdb39158df6a/src/cl/functions/math.lisp
lisp
HEY! write a version that uses %ash[l,r] and detects overflow? HEY! fix this... HEY! write %store-field and use it here! HEY! Put C version in arith.c? HEY! Should accept 0 args too HEY! add bignum case. HEY! ratio case is a hack for now.
( C ) Copyright 1990 - 2014 by . All rights reserved . (defun abs (n) (if (plusp n) n (- n))) (defun-inline acos (x) (double_acos (float x))) (defun arith-error (x y) (error "~S is not a number" (if (numberp x) y x))) (defmethod ash ((n integer) (count fixnum)) (if (plusp count) (* n ...
3d6c12569deb25ca98da35a82b5701a675dcd58406ef5dab341f88cc93509b14
nfrisby/coxswain
PossibleGHCBug.hs
# LANGUAGE TypeFamilyDependencies # type family T (a :: *) = (r :: *) | r -> a where f :: (T a ~ T b) => a -> b f x = x Error message in 8.2.1 : PossibleGHCBug.hs:6:7 : error : * Could not deduce : a ~ b from the context : T a ~ T b bound by the type signature for : ...
null
https://raw.githubusercontent.com/nfrisby/coxswain/bfd5777964a5b4ba64e1bcc4cf18df1c9d8fc558/coxswain/PossibleGHCBug.hs
haskell
------ # 1 ------ # 2 ------ # 3 ------ #1 ------ #2 ------ #3
# LANGUAGE TypeFamilyDependencies # type family T (a :: *) = (r :: *) | r -> a where f :: (T a ~ T b) => a -> b f x = x Error message in 8.2.1 : PossibleGHCBug.hs:6:7 : error : * Could not deduce : a ~ b from the context : T a ~ T b bound by the type signature for : ...
a150d1c8f51782ec6374165f31851e2a4d914f62008fce89ed41e22a0250f618
ocurrent/ocaml-dockerfile
dockerfile_cmd.ml
* Copyright ( c ) 2017 Anil Madhavapeddy < > * * Permission to use , copy , modify , and 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...
null
https://raw.githubusercontent.com/ocurrent/ocaml-dockerfile/224e2b45f83382a4e49c3fc491cfd9c4935b1a5f/src-cmd/dockerfile_cmd.ml
ocaml
Find the image id that we just built * Opam
* Copyright ( c ) 2017 Anil Madhavapeddy < > * * Permission to use , copy , modify , and 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...
1bd1f1db1b42c9635b984db72511b2342fc66d35fc1a1547b778d31f73560aa5
MyDataFlow/ttalk-server
ws_upgrade_with_opts.erl
%% Feel free to use, reuse and abuse the code in this file. -module(ws_upgrade_with_opts). -behaviour(cowboy_websocket_handler). -export([init/3]). -export([websocket_init/3]). -export([websocket_handle/3]). -export([websocket_info/3]). -export([websocket_terminate/3]). init(_Any, Req, _Opts) -> {upgrade, protocol,...
null
https://raw.githubusercontent.com/MyDataFlow/ttalk-server/07a60d5d74cd86aedd1f19c922d9d3abf2ebf28d/deps/cowboy/test/ws_SUITE_data/ws_upgrade_with_opts.erl
erlang
Feel free to use, reuse and abuse the code in this file.
-module(ws_upgrade_with_opts). -behaviour(cowboy_websocket_handler). -export([init/3]). -export([websocket_init/3]). -export([websocket_handle/3]). -export([websocket_info/3]). -export([websocket_terminate/3]). init(_Any, Req, _Opts) -> {upgrade, protocol, cowboy_websocket, Req, <<"success">>}. websocket_init(_Tra...
8bf4e356e3fa542a3fc022a9792d2f7afaa5ddc0b01c784b03ea56c36b06bb6c
janestreet/krb
krb_flags.mli
open! Core module Ap_req : sig type t = | AP_OPTS_USE_SESSION_KEY (** Use a tgt's session key (instead of server key) to encrypt the service ticket. This is used for user to user mode. *) | AP_OPTS_MUTUAL_REQUIRED (** Mutual authentication is required. This means that the server must prove it...
null
https://raw.githubusercontent.com/janestreet/krb/1105ba1e8b836f80f09e663bc1b4233cf2607e7b/internal/krb_flags.mli
ocaml
* Use a tgt's session key (instead of server key) to encrypt the service ticket. This is used for user to user mode. * Mutual authentication is required. This means that the server must prove its identity to the client via an AP_REP message. * Prevent replays with timestamps and replay cache. * Save ...
open! Core module Ap_req : sig type t = | AP_OPTS_USE_SESSION_KEY | AP_OPTS_MUTUAL_REQUIRED end module Auth_context : sig type t = end module Get_credentials : sig type t = | KRB5_GC_CACHED * Want a cached ticket . If this is specified , getting credentials from a cred cache that does n't...
9d3857c7d8255d19315c0e468dac5144dd5f764153158d784c83406b85d65523
jyh/metaprl
auto_tactic.mli
* We define a simple auto tactic , where it * is possible to add tactics to be tried by the auto tactic . * * This is the simple - minded auto tactic . Each tactic * is given a precedence , and the tactics are ordered * by their precedences before they are tried . * * The trivialT tactic is li...
null
https://raw.githubusercontent.com/jyh/metaprl/51ba0bbbf409ecb7f96f5abbeb91902fdec47a19/support/tactics/auto_tactic.mli
ocaml
* Uses the nth_hyp to match a goal agains an assumption. Assumes that the goal and the * assumption already match, except for the conclusions. The tactic argument is the * "cut" rule that will cat the given term in as a new hyp at the end of the hyp list. Only use the "certain" form on tactics that will fully su...
* We define a simple auto tactic , where it * is possible to add tactics to be tried by the auto tactic . * * This is the simple - minded auto tactic . Each tactic * is given a precedence , and the tactics are ordered * by their precedences before they are tried . * * The trivialT tactic is li...
a8a3a02bf6742037fc7e5f4fe617b32a10d51f219e5706a0365f25de847e72d7
m1kal/charbel
core.cljc
(ns charbel.core #?(:cljs (:require-macros [charbel.core])) (:require [charbel.analysis :as a] [charbel.synthesis :as s] #?(:cljs [cljs.reader :refer [read-string]]))) (defmacro module "Create intermediate representation from input. See README for syntax and examples." [& args] (apply...
null
https://raw.githubusercontent.com/m1kal/charbel/06df17bd49103b3f37b0d24cda70ebfbdad18765/src/charbel/core.cljc
clojure
(ns charbel.core #?(:cljs (:require-macros [charbel.core])) (:require [charbel.analysis :as a] [charbel.synthesis :as s] #?(:cljs [cljs.reader :refer [read-string]]))) (defmacro module "Create intermediate representation from input. See README for syntax and examples." [& args] (apply...
0b503797db4fd73bcdcb015c1e4012c576aab5b42b7c42173e16fa172fdac8f1
fp-works/2019-winter-Haskell-school
Main.hs
module Main where main :: IO () main = putStr "No use"
null
https://raw.githubusercontent.com/fp-works/2019-winter-Haskell-school/823b67f019b9e7bc0d3be36711c0cc7da4eba7d2/cis194/week6/tien/app/Main.hs
haskell
module Main where main :: IO () main = putStr "No use"
a80cc8476322b6bd341484117286d66ebdd774a56abc143194458dfd7d4ff5ea
ngorogiannis/cyclist
proof.mli
(** A cyclic proof object. *) open Lib (** Proof signature. *) module type S = sig (** Proof type. Invariants are: - Graph (all indices point to existing nodes). - Non-empty. - Rooted at 0. - Connected. - Leaves are open nodes, axioms or backlinks. *) type t type seq_t type nod...
null
https://raw.githubusercontent.com/ngorogiannis/cyclist/c93a168d586b308ab2a2c730cd1b2375ab263167/src/generic/proof.mli
ocaml
* A cyclic proof object. * Proof signature. * Proof type. Invariants are: - Graph (all indices point to existing nodes). - Non-empty. - Rooted at 0. - Connected. - Leaves are open nodes, axioms or backlinks. * Constructor. Takes a sequent and makes an open node at the root (0). * Other...
open Lib module type S = sig type t type seq_t type node_t val mk : seq_t -> t val add_axiom : int -> string -> t -> t val add_backlink : int -> string -> int -> Tagpairs.t -> t -> t val add_inf : int -> string -> (seq_t * Tagpairs.t * Tagpairs.t) list -> t -> int list * t ...
14f021ec7638c04c74ff9c044db6782d061c8480b005dcfe9c6132ab7a9e62d8
pascalpoizat/fbpmn
Examples.hs
module Examples where import Fbpmn.BpmnGraph.Model models' :: [BpmnGraph] models' = [g0, g1] models :: Map Text BpmnGraph models = fromList $ f <$> models' where f g = (name g, g) -- -- g0 -- -- SEND/RECEIVE -- g0 :: BpmnGraph g0 = mkGraph "g0" ["Sender", "Receiver", "NSE1", "NSE2", "ST1", "RT2", "NEE...
null
https://raw.githubusercontent.com/pascalpoizat/fbpmn/f4c4443c40d576c76969b1fc971137c41bfc5c6f/src/Examples.hs
haskell
g0 SEND/RECEIVE g1
module Examples where import Fbpmn.BpmnGraph.Model models' :: [BpmnGraph] models' = [g0, g1] models :: Map Text BpmnGraph models = fromList $ f <$> models' where f g = (name g, g) g0 :: BpmnGraph g0 = mkGraph "g0" ["Sender", "Receiver", "NSE1", "NSE2", "ST1", "RT2", "NEE1", "NEE2"] ["a", "b", "c", "...
2d6d892c93c372a209ab35338bf46ca3c13c10d8494082ce7557cfa0850b8342
GillianPlatform/Gillian
Modules.mli
open Flow_parser.Flow_ast open Flow_parser type loc = Loc.t type file = Flow_parser.File_key.t type error = Flow_parser.Parse_error.t type parse_f = string -> file option -> (loc, loc) Program.t * (loc * error) list type transform_f = (loc, loc) Program.t -> GJS_syntax.exp val parse_commonjs : parse_f -> transf...
null
https://raw.githubusercontent.com/GillianPlatform/Gillian/1c8d65120c04ef87cda689a9d41268e25b5ffa7e/Gillian-JS/JS_Parser/src/Modules.mli
ocaml
open Flow_parser.Flow_ast open Flow_parser type loc = Loc.t type file = Flow_parser.File_key.t type error = Flow_parser.Parse_error.t type parse_f = string -> file option -> (loc, loc) Program.t * (loc * error) list type transform_f = (loc, loc) Program.t -> GJS_syntax.exp val parse_commonjs : parse_f -> transf...
028062e93bfcc47fca6168bd15cca047785418352ced597acc56d72f38115acf
BinaryAnalysisPlatform/bap
bap_plugins_package.ml
let find_exn name = let dir = Findlib.package_directory name in let nat = if Dynlink.is_native then "native" else "byte" in let pre = ["plugin"; nat ] in let cmx = Findlib.package_property pre name "archive" in let file = Dynlink.adapt_filename cmx in Findlib.resolve_path ~base:dir file let resolve name = ...
null
https://raw.githubusercontent.com/BinaryAnalysisPlatform/bap/cbdf732d46c8e38df79d9942fc49bcb97915c657/lib/bap_plugins/bap_plugins_package.ml
ocaml
let find_exn name = let dir = Findlib.package_directory name in let nat = if Dynlink.is_native then "native" else "byte" in let pre = ["plugin"; nat ] in let cmx = Findlib.package_property pre name "archive" in let file = Dynlink.adapt_filename cmx in Findlib.resolve_path ~base:dir file let resolve name = ...
41be897422b1f52807711f65961281ed0cd74c425f03b98ca78cf17657b7bcfe
ocsigen/obrowser
lexing.mli
(***********************************************************************) (* *) (* Objective Caml *) (* *) , projet ...
null
https://raw.githubusercontent.com/ocsigen/obrowser/977c09029ea1e4fde4fb0bf92b4d893835bd9504/rt/caml/lexing.mli
ocaml
********************************************************************* Objective Caml ...
, 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 $ I d : lexing.mli 10457 2010 - 05 - ...
039c93fe19bdb79255ce1dc29269f424239c0d5587f809283cc4383127b6a412
Octachron/babilim
metafmt.mli
* is a Format overlay that implements positional format specifier . For instance the format string [ " % 2$s % 1$s % 2$s " ] requires two strings arguments and print the second string twice . Currently , this comes at the cost of advanced features of Format : subformat nesting [ " % ( % ) " ]...
null
https://raw.githubusercontent.com/Octachron/babilim/46b0412cd6efef5efe26bfd379566688bf7ab571/metaprintf/metafmt.mli
ocaml
* empty type * [apply f [x_1;…;x_n]] computes [f x_1 … x_n] * [nth k l] returns the k-th element of the list. Raise [Invalid_argument] if the index is greater than the list length. Note that this cannot happen if the type of the list is fixed to [L.fix] . * Heterogeneous list of indices of an heterogene...
* is a Format overlay that implements positional format specifier . For instance the format string [ " % 2$s % 1$s % 2$s " ] requires two strings arguments and print the second string twice . Currently , this comes at the cost of advanced features of Format : subformat nesting [ " % ( % ) " ]...
ba9df1a44616e09c44767aa1640d90c913d6b069c5e75f0ee21e5202d8095881
juxt/apex
conditional_request_test.clj
Copyright © 2020 , JUXT LTD . (ns juxt.apex.conditional-request-test (:require [clojure.java.io :as io] [clojure.string :as str] [clojure.tools.logging :as log] [clojure.test :refer [deftest is testing]] [juxt.apex.request :refer [handler]] [juxt.apex.util :refer [to-rfc-1123-date-time from-rfc-1...
null
https://raw.githubusercontent.com/juxt/apex/cb4c0016d817ebb03d4f84e572ca71edd84ed79d/test/juxt/apex/conditional_request_test.clj
clojure
See -US/docs/Web/HTTP/Conditional_requests Expectation is to return a new request with validators merged. The purpose of this map is also to indicate strong or weak validator strength.
Copyright © 2020 , JUXT LTD . (ns juxt.apex.conditional-request-test (:require [clojure.java.io :as io] [clojure.string :as str] [clojure.tools.logging :as log] [clojure.test :refer [deftest is testing]] [juxt.apex.request :refer [handler]] [juxt.apex.util :refer [to-rfc-1123-date-time from-rfc-1...
71999b39e0eabfdee0ce520dcf52017d83fa659086a16dfc0937162f2fc0828f
rescript-lang/rescript-compiler
js_of_lam_string.mli
Copyright ( C ) 2015 - 2016 Bloomberg Finance L.P. * Copyright ( C ) 2017 - , Authors of * This program 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 Licens...
null
https://raw.githubusercontent.com/rescript-lang/rescript-compiler/5da6c88fb9237fbc4d61640187b82627690ccf39/jscomp/core/js_of_lam_string.mli
ocaml
* Utilities to wrap [string] and [bytes] compilation, this is isolated, so that we can swap different representation in the future. [string] is Immutable, so there is not [set_string] method
Copyright ( C ) 2015 - 2016 Bloomberg Finance L.P. * Copyright ( C ) 2017 - , Authors of * This program 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 Licens...
874689d46266c133de2cfa4970e1444a4ee1508dbc24d70f44ed07b13a1e29f3
Eventuria/demonstration-gsd
Writable.hs
module Eventuria.Libraries.PersistedStreamEngine.Interface.Write.Writable where import Data.Aeson class ToJSON item => Writable item where getItemName :: item -> String
null
https://raw.githubusercontent.com/Eventuria/demonstration-gsd/5c7692b310086bc172d3fd4e1eaf09ae51ea468f/src/Eventuria/Libraries/PersistedStreamEngine/Interface/Write/Writable.hs
haskell
module Eventuria.Libraries.PersistedStreamEngine.Interface.Write.Writable where import Data.Aeson class ToJSON item => Writable item where getItemName :: item -> String
09132985134a818cffa92c65d11835d61a4a32b95102a56324de969815da385a
hraberg/foil
hello_world.cljc
(ns hello-world) (defn -main [] (println "Hello" "World" *foil-version*) (doseq [x *command-line-args*] (println x)))
null
https://raw.githubusercontent.com/hraberg/foil/aad2ef6509b414d3ac8b9d5069771c28e5e14ce7/test/foil/hello_world.cljc
clojure
(ns hello-world) (defn -main [] (println "Hello" "World" *foil-version*) (doseq [x *command-line-args*] (println x)))
5c206de987edae0310954e1b219cdd6bcd85501f91fcf531695f57f74b1d7a0e
pfdietz/ansi-test
nthcdr.lsp
;-*- Mode: Lisp -*- Author : Created : Sat Apr 19 22:48:36 2003 Contains : Tests of ;;; Error tests (deftest nthcdr.error.1 (check-type-error #'(lambda (x) (nthcdr x (copy-list '(a b c d)))) (typef 'unsigned-byte)) nil) (deftest nthcdr.error.6 (signals-error (nthcdr -10 (copy-tree '(a b c...
null
https://raw.githubusercontent.com/pfdietz/ansi-test/3f4b9d31c3408114f0467eaeca4fd13b28e2ce31/cons/nthcdr.lsp
lisp
-*- Mode: Lisp -*- Error tests Non-error tests
Author : Created : Sat Apr 19 22:48:36 2003 Contains : Tests of (deftest nthcdr.error.1 (check-type-error #'(lambda (x) (nthcdr x (copy-list '(a b c d)))) (typef 'unsigned-byte)) nil) (deftest nthcdr.error.6 (signals-error (nthcdr -10 (copy-tree '(a b c d))) type-error) t) (deftest nthcdr....
c7cfe53de8b85ed3fefdc4f3b0c52fc7b26d7a5712805936e76667bd887b2874
huiyaozheng/Mirage-zmq
unikernel.ml
open Lwt.Infix open Mirage_zmq module Main (S: Mirage_stack_lwt.V4) = struct let start s = let context = Mirage_zmq.Context.create_context () in let module Socket = Mirage_zmq.Socket_tcp (S) in let socket = Socket.create_socket context REQ in Socket.set_identity socket "req42"; ...
null
https://raw.githubusercontent.com/huiyaozheng/Mirage-zmq/af288a3378a7c357bd5646a3abf4fd5ae777369b/test/IDENTITY/unikernel/unikernel.ml
ocaml
open Lwt.Infix open Mirage_zmq module Main (S: Mirage_stack_lwt.V4) = struct let start s = let context = Mirage_zmq.Context.create_context () in let module Socket = Mirage_zmq.Socket_tcp (S) in let socket = Socket.create_socket context REQ in Socket.set_identity socket "req42"; ...
93fe1b5ae2e1c576a8f477bcf4a80a3d892d1a4750894ad915ef2e81c9860c37
jafingerhut/thalia
clojure.tools.trace-0.7.6.clj
{"namespaces" {"clojure.tools.trace" [{"ns" "clojure.tools.trace", "name" "trace-form", "line" 298, "column" 1, "doc" "Trace the given form avoiding try catch when recur is present in the form.", "tag" nil, "source" "(defn ^{:skip-wiki true} trace-form\n \"Trace the given form avoidi...
null
https://raw.githubusercontent.com/jafingerhut/thalia/20c98eec8168ff72c5b3965cc048b817d34a4583/doc/clojuredocs/clojure.tools.trace-0.7.6.clj
clojure
{"namespaces" {"clojure.tools.trace" [{"ns" "clojure.tools.trace", "name" "trace-form", "line" 298, "column" 1, "doc" "Trace the given form avoiding try catch when recur is present in the form.", "tag" nil, "source" "(defn ^{:skip-wiki true} trace-form\n \"Trace the given form avoidi...
4e07b25d08654b827bd87616bbf745cac59cf35cc9939a768264a5349e1d30e5
GrammaTech/elf
elf-test.lisp
;;; elf-test.lisp --- Tests for elf.lisp Copyright ( C ) 2011 - 2013 ;; Licensed under the Gnu Public License Version 3 or later ;;; Code: (in-package :elf/test) (defsuite test) (in-suite test) ;;; testing components (defvar *test-class* :32-bit "architecture to test (e.g. 32-bit or 64-bit)") (defvar *tmp-...
null
https://raw.githubusercontent.com/GrammaTech/elf/89b7cf6c3021e71275a6a985e53f6040e9750e03/test/elf-test.lisp
lisp
elf-test.lisp --- Tests for elf.lisp Licensed under the Gnu Public License Version 3 or later Code: testing components tests which run elf-test.lisp ends here
Copyright ( C ) 2011 - 2013 (in-package :elf/test) (defsuite test) (in-suite test) (defvar *test-class* :32-bit "architecture to test (e.g. 32-bit or 64-bit)") (defvar *tmp-file* nil "temporary file used for testing") (defvar *elf* nil "variable to hold elf object") (defun elf-test-relative-path (rel-path...
1ed5bd9a5d9f0f09b161dc988d0f62bab63c0b26fe5480dfaa3a7bfe01ddfd69
glv2/cl-monero-tools
japanese.lisp
;;;; This file is part of monero-tools Copyright 2016 - 2017 Distributed under the GNU GPL v3 or later . ;;;; See the file LICENSE for terms of use and distribution. (in-package :monero-tools) (add-word-list :japanese 3 #("あいこくしん" "あいさつ" "あいだ" ...
null
https://raw.githubusercontent.com/glv2/cl-monero-tools/ab972ac3a7c5489cf23e3bdaa5d390d5cff1732b/monero-tools/mnemonic/japanese.lisp
lisp
This file is part of monero-tools See the file LICENSE for terms of use and distribution.
Copyright 2016 - 2017 Distributed under the GNU GPL v3 or later . (in-package :monero-tools) (add-word-list :japanese 3 #("あいこくしん" "あいさつ" "あいだ" "あおぞら" "あかちゃん" "あきる" "あけがた" ...
de21da48488bb903eaccd3b4ca8d0a419d1c9b7f859ee2d43516609be2fd87fe
xh4/web-toolkit
package.lisp
(in-package :cl-user) (defpackage :http (:nicknames :wt.http) (:use :cl :alexandria) (:shadow :get :delete :read-line :read-char :stream :directory) #+sb-package-locks (:lock t) (:export ;; field :field :fields :field-name :field-value ;; header-field :header-field :header-field-nam...
null
https://raw.githubusercontent.com/xh4/web-toolkit/039ca3c1a9fa401134ad5dcde9af038945df4742/http/package.lisp
lisp
field header-field header cookie request status response entity entity-html entity-json entity-file entity-directory entity-form entity-text reply handler redirect listener router server connection client form
(in-package :cl-user) (defpackage :http (:nicknames :wt.http) (:use :cl :alexandria) (:shadow :get :delete :read-line :read-char :stream :directory) #+sb-package-locks (:lock t) (:export :field :fields :field-name :field-value :header-field :header-field-name :header-field-value :he...
826410b450441d8d5f0f738c78d0bd1e1e92f5fac4cb0c25135256e8a079a1bd
tezos/tezos-mirror
store.ml
(*****************************************************************************) (* *) (* Open Source License *) Copyright ( c ) 2020 - 2021 Nomadic Labs , < > (* ...
null
https://raw.githubusercontent.com/tezos/tezos-mirror/73f2b0977b575e63ec754939925c5fddf33926e8/src/lib_store/unix/store.ml
ocaml
*************************************************************************** Open Source License Permission is h...
Copyright ( c ) 2020 - 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...
2e5172c74a4cf5721719cf04a05348ec400a6da8d7ece8e4ffa36dd7c69e6d53
jarohen/clidget
todomvc_model.cljs
(ns todomvc.cljs.todomvc-model (:require [cljs.core.async :as a]) (:require-macros [cljs.core.async.macros :refer [go-loop]])) ;; This is pure Clojure - test it in a normal REPL! (defmulti apply-event #(:type %2)) (defmethod apply-event :toggle [todos {:keys [toggled-id]}] (update-in todos [toggled-id :done?] ...
null
https://raw.githubusercontent.com/jarohen/clidget/bd67082ad3819908e2d532151417cab436333ad0/todomvc/src/cljs/todomvc/cljs/todomvc_model.cljs
clojure
This is pure Clojure - test it in a normal REPL!
(ns todomvc.cljs.todomvc-model (:require [cljs.core.async :as a]) (:require-macros [cljs.core.async.macros :refer [go-loop]])) (defmulti apply-event #(:type %2)) (defmethod apply-event :toggle [todos {:keys [toggled-id]}] (update-in todos [toggled-id :done?] not)) (defmethod apply-event :update [todos {:keys ...
32c3d4ec24ffdfbe3cddcd7dba08d251f18cbf667582f3937015b8f36233a85f
basho/riak_test
verify_dt_data_upgrade.erl
%% ------------------------------------------------------------------- %% Copyright ( c ) 2016 - 2017 Basho Technologies , Inc. %% 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 may obtain %% a copy of...
null
https://raw.githubusercontent.com/basho/riak_test/8170137b283061ba94bc85bf42575021e26c929d/tests/verify_dt_data_upgrade.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 ) 2016 - 2017 Basho Technologies , Inc. 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 -module(verify_dt_data_u...
bd180fb6031e08b924923e57fdac6dd8a0a1a44e5ae3f4b73114047e06804f81
penpot/penpot
rpc_file_test.clj
This Source Code Form is subject to the terms of the Mozilla Public License , v. 2.0 . If a copy of the MPL was not distributed with this file , You can obtain one at /. ;; ;; Copyright (c) KALEIDOS INC (ns backend-tests.rpc-file-test (:require [app.common.uuid :as uuid] [app.db :as db] [app.db.sql :a...
null
https://raw.githubusercontent.com/penpot/penpot/42e97f8be105af41757f8e896b93a99032a2b72a/backend/test/backend_tests/rpc_file_test.clj
clojure
Copyright (c) KALEIDOS INC (th/print-result! out) (th/print-result! out) (th/print-result! out) (th/print-result! out) (th/print-result! out) (th/print-result! out) (th/print-result! out) (th/print-result! out) Check that reference storage objects on filemediaobjects are the same because of deduplication fe...
This Source Code Form is subject to the terms of the Mozilla Public License , v. 2.0 . If a copy of the MPL was not distributed with this file , You can obtain one at /. (ns backend-tests.rpc-file-test (:require [app.common.uuid :as uuid] [app.db :as db] [app.db.sql :as sql] [app.http :as http] ...
f781a0e1fb21bf5912a52932d38df231712a15265f5d3622944d066d365f21d9
ryo-imai-bit/Writing-An-Interpreter-In-Go-In-OCaml
test.ml
open Interpreter include Parser include Ast include Object include Evaluator include Env module To_test = struct let evals strlst = let rec reval = function | [] -> [] | h::t -> let (ps, prg) = Parser.parseProgram (Parser.newParser (Lexer.newLexer h)) [] in let obj = Evaluator.evalProgram ps.errors prg.s...
null
https://raw.githubusercontent.com/ryo-imai-bit/Writing-An-Interpreter-In-Go-In-OCaml/79551ed3a2decf6c3b05948de00e1a72b69f5e41/test/evaluator/test.ml
ocaml
Run it
open Interpreter include Parser include Ast include Object include Evaluator include Env module To_test = struct let evals strlst = let rec reval = function | [] -> [] | h::t -> let (ps, prg) = Parser.parseProgram (Parser.newParser (Lexer.newLexer h)) [] in let obj = Evaluator.evalProgram ps.errors prg.s...
d8e20782f258d59c4d5bb93a3b9e5bc2bf4020f1df1be285bbfe8c08fd5e48de
abdulapopoola/SICPBook
Ex1.12.scm
Prints the 's triangle coefficient for a location . ;; x represents the row index ;; y represents the column index (define (pascal x y) (cond ((= y 1) 1) ((= y x) 1) (else (+ (pascal (- x 1) y) (pascal (- x 1) (- y 1)))))
null
https://raw.githubusercontent.com/abdulapopoola/SICPBook/c8a0228ebf66d9c1ddc5ef1fcc1d05d8684f090a/Chapter%201/1.2/Ex1.12.scm
scheme
x represents the row index y represents the column index
Prints the 's triangle coefficient for a location . (define (pascal x y) (cond ((= y 1) 1) ((= y x) 1) (else (+ (pascal (- x 1) y) (pascal (- x 1) (- y 1)))))
204a62426fd4eb368d8694c4f2e68f31d6b96f5a6c8da68ba5f8db1aac859409
sjl/advent
day-10.lisp
(advent:defpackage* :advent/2016/10) (in-package :advent/2016/10) (defun tree-collect (predicate tree) ; todo from quickutil, remove this "Returns a list of every node in the `tree` that satisfies the `predicate`. If there are any improper lists in the tree, the `predicate` is also applied to their dotted elements."...
null
https://raw.githubusercontent.com/sjl/advent/dc3debda9bd1a0570a6ab06919b1af7b285413dc/src/2016/days/day-10.lisp
lisp
todo from quickutil, remove this Scratch --------------------------------------------------------------------
(advent:defpackage* :advent/2016/10) (in-package :advent/2016/10) "Returns a list of every node in the `tree` that satisfies the `predicate`. If there are any improper lists in the tree, the `predicate` is also applied to their dotted elements." (let ((sentinel (gensym))) (flet ((my-cdr (obj) (con...
03a4f1d63aea652e924210ca6d3aad9ce76c3193b97c19dcfdeb65b64537d84e
potapenko/playphraseme-site
auth.clj
(ns playphraseme.api.routes.auth (:require [playphraseme.api.middleware.basic-auth :refer [basic-auth-mw]] [playphraseme.api.middleware.authenticated :refer [authenticated-mw]] [playphraseme.api.middleware.cors :refer [cors-mw]] [playphraseme.api.route-functions.auth.get-auth-crede...
null
https://raw.githubusercontent.com/potapenko/playphraseme-site/d50a62a6bc8f463e08365dca96b3a6e5dde4fb12/src/clj/playphraseme/api/routes/auth.clj
clojure
(ns playphraseme.api.routes.auth (:require [playphraseme.api.middleware.basic-auth :refer [basic-auth-mw]] [playphraseme.api.middleware.authenticated :refer [authenticated-mw]] [playphraseme.api.middleware.cors :refer [cors-mw]] [playphraseme.api.route-functions.auth.get-auth-crede...
79dc7d33cc7aeefe6c56fbe324304611c142cd5d3534cc739bcda9bae3d13df1
ejgallego/dualquery
tictactoe.ml
Copyright ( c ) 2013 , The Trustees of the University of Pennsylvania All rights reserved . LICENSE : 3 - clause BSD style . See the LICENSE file for details on licensing . All rights reserved. LICENSE: 3-clause BSD style. See the LICENSE file for details on licensing. *) open List open S...
null
https://raw.githubusercontent.com/ejgallego/dualquery/f8355212a760ef77ad3fb07f3bb595e775bf06d2/src/tictactoe.ml
ocaml
ann_db schema a_db; ******************************************************************** Old code Old code Printf.printf "%03d: %s \n%!" idx atts; Printf.printf "%s %!" line;
Copyright ( c ) 2013 , The Trustees of the University of Pennsylvania All rights reserved . LICENSE : 3 - clause BSD style . See the LICENSE file for details on licensing . All rights reserved. LICENSE: 3-clause BSD style. See the LICENSE file for details on licensing. *) open List open S...
50368d55e77f341244f69e4cff505d2850434716678b4a98873baa325a6605db
eugenehr/erlyconv
iso8859_15.erl
%% THIS FILE WAS AUTOMATICALLY GENERATED BY gen_src.pl FROM mappings / ISO8859/8859 - 15.TXT AT 2016 - 08 - 19 -module(iso8859_15). -vsn(20160819). -export([to_unicode/1, from_unicode/1]). %% Public functions to_unicode(16#A4) -> 16#20AC; to_unicode(16#A6) -> 16#0160; to_unicode(16#A8) -> 16#0161; to_unicode(16#B4) ...
null
https://raw.githubusercontent.com/eugenehr/erlyconv/ecdcd7db8f785c9638cd1ebad37ccd426c050cdf/src/iso8859_15.erl
erlang
THIS FILE WAS AUTOMATICALLY GENERATED BY gen_src.pl Public functions Private functions
FROM mappings / ISO8859/8859 - 15.TXT AT 2016 - 08 - 19 -module(iso8859_15). -vsn(20160819). -export([to_unicode/1, from_unicode/1]). to_unicode(16#A4) -> 16#20AC; to_unicode(16#A6) -> 16#0160; to_unicode(16#A8) -> 16#0161; to_unicode(16#B4) -> 16#017D; to_unicode(16#B8) -> 16#017E; to_unicode(16#BC) -> 16#0152; to_...
d7ad7a91eb57a8bce593b48f3707b7d71cec9b9c56e85916c93998734cda27ec
oofp/Beseder
Comm.hs
module Beseder.Resources.Comm ( module Beseder.Resources.Comm.CommProv , module Beseder.Resources.Comm.CommProvImpl , module Beseder.Resources.Comm.Impl.Console , module Beseder.Resources.Comm.Impl.WSClient , module Beseder.Resources.Comm.Impl.STMComm ) where import Beseder.Resources.Comm.CommProv ( Co...
null
https://raw.githubusercontent.com/oofp/Beseder/a0f5c5e3138938b6fa18811d646535ee6df1a4f4/src/Beseder/Resources/Comm.hs
haskell
module Beseder.Resources.Comm ( module Beseder.Resources.Comm.CommProv , module Beseder.Resources.Comm.CommProvImpl , module Beseder.Resources.Comm.Impl.Console , module Beseder.Resources.Comm.Impl.WSClient , module Beseder.Resources.Comm.Impl.STMComm ) where import Beseder.Resources.Comm.CommProv ( Co...
1159ef4aa1283cc2577c2ad739153dba203b40598f4bb620827ee42ac9e17dcf
nd/sicp
4.35.scm
(define (an-integer-between x y) (require (<= x y)) (amb x (an-integer-between (+ x 1) y)))
null
https://raw.githubusercontent.com/nd/sicp/d8587a0403d95af7c7bcf59b812f98c4f8550afd/ch04/4.35.scm
scheme
(define (an-integer-between x y) (require (<= x y)) (amb x (an-integer-between (+ x 1) y)))
b8e94f600e5b51830c8fe6cee481ab1080b533ff2565d01c5adeb396e3394f16
haskell-works/hw-xml
BalancedParens.hs
module HaskellWorks.Data.Xml.Internal.BalancedParens ( blankedXmlToBalancedParens ) where import Data.ByteString (ByteString) import Data.Word import Data.Word8 import qualified Data.ByteString as BS data MiniBP = MiniN | MiniT | MiniF | MiniTF blankedXmlToBalancedParens :: [ByteString] -> [ByteString] blankedX...
null
https://raw.githubusercontent.com/haskell-works/hw-xml/e30a4cd8e6dc7451263a3d45c1ae28b3f35d0079/src/HaskellWorks/Data/Xml/Internal/BalancedParens.hs
haskell
module HaskellWorks.Data.Xml.Internal.BalancedParens ( blankedXmlToBalancedParens ) where import Data.ByteString (ByteString) import Data.Word import Data.Word8 import qualified Data.ByteString as BS data MiniBP = MiniN | MiniT | MiniF | MiniTF blankedXmlToBalancedParens :: [ByteString] -> [ByteString] blankedX...
172fca0fc933fc5712055be5db9fe5cb912ef1a27788ca6b0ab6682abffaeff7
dmvianna/haskellbook
Ch23-MyState.hs
# LANGUAGE InstanceSigs # newtype State s a = State { runState :: s -> (a, s) } get :: State s s get = State $ \a -> (a, a) put :: s -> State s () put s = State $ \_ -> ((), s) exec :: State s a -> s -> s exec (State sa) x = let (_, s) = sa x in s eval :: State s a -> s -> a eval (State sa) x =...
null
https://raw.githubusercontent.com/dmvianna/haskellbook/b1fdce66283ccf3e740db0bb1ad9730a7669d1fc/src/Ch23-MyState.hs
haskell
We need instances here
# LANGUAGE InstanceSigs # newtype State s a = State { runState :: s -> (a, s) } get :: State s s get = State $ \a -> (a, a) put :: s -> State s () put s = State $ \_ -> ((), s) exec :: State s a -> s -> s exec (State sa) x = let (_, s) = sa x in s eval :: State s a -> s -> a eval (State sa) x =...
7d9c738fb8fedc4e61404db6c966acf39496091877e1277a74414d55025a3a1b
IronScheme/IronScheme
sorting.sps
#!r6rs (import (tests r6rs sorting) (tests r6rs test) (rnrs io simple)) (display "Running tests for (rnrs sorting)\n") (run-sorting-tests) (report-test-results)
null
https://raw.githubusercontent.com/IronScheme/IronScheme/687cde5d4e463a119e4ba28296f2af42a5c4a9df/IronScheme/IronScheme.Console/tests/r6rs/run/sorting.sps
scheme
#!r6rs (import (tests r6rs sorting) (tests r6rs test) (rnrs io simple)) (display "Running tests for (rnrs sorting)\n") (run-sorting-tests) (report-test-results)
8b057402101aa6b4864433f3cf8e4d375013b6e5cad63fa1ea56ebdeb57593b8
facebookincubator/retrie
ParseQualified.hs
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. -- module ParseQualified (parseQualifiedTest) where import Retrie import Retrie.Rewrites import System.FilePath import Test.HUnit parse...
null
https://raw.githubusercontent.com/facebookincubator/retrie/00cf9d5d8f76ba9d628f572257d5491ebfb9d791/tests/ParseQualified.hs
haskell
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 module ParseQualified (parseQualifiedTest) where import Retrie import Retrie.Rewrites import System.FilePath import Test.HUnit parseQualifiedTest :: Test parseQualifiedTest = TestLabel "parseQualif...
26c81e1e58e3fbeb8988e22b439deafcef1232c657b5e39d4e143c34ca4742aa
thoughtstem/game-engine
key-animator.rkt
#lang racket (require "../game-entities.rkt") (require "./animated-sprite.rkt") (require posn) (require threading) (provide (except-out (struct-out key-animator) key-animator) (rename-out (new-key-animator key-animator))) (component key-animator (current animation)) (define (update-key-animator g e c) (...
null
https://raw.githubusercontent.com/thoughtstem/game-engine/98c4b9e9b8c071818e564ef7efb55465cff487a8/components/key-animator.rkt
racket
#lang racket (require "../game-entities.rkt") (require "./animated-sprite.rkt") (require posn) (require threading) (provide (except-out (struct-out key-animator) key-animator) (rename-out (new-key-animator key-animator))) (component key-animator (current animation)) (define (update-key-animator g e c) (...
a0947e09fd6d4eef58af5335cb57ad97ae48ab456780a9962a82ab12b4e02578
jaseemabid/lisper
Compiler.hs
----------------------------------------------------------------------------- -- | -- Module : Lisper.Compiler -- -- Public interface of lisper ----------------------------------------------------------------------------- module Lisper.Compiler (Scheme, Env, read, evaluate, compile, exec) where import Prelude...
null
https://raw.githubusercontent.com/jaseemabid/lisper/91bc7876e93d5fa4fb65046eedf500a6d99278b3/src/Lisper/Compiler.hs
haskell
--------------------------------------------------------------------------- | Module : Lisper.Compiler Public interface of lisper --------------------------------------------------------------------------- | Compile and evaluate a string and return result
module Lisper.Compiler (Scheme, Env, read, evaluate, compile, exec) where import Prelude hiding (read) import Lisper.Core (Env, Scheme) import Lisper.Eval (evaluate) import Lisper.Macro (compile) import Lisper.Parser (read) exec :: String -> Either String Scheme exec str = do ast <- read str (source, _en...
c91b4f3751ad29e6fc3886a1ee35674e4aaa4b47eb18991484ce8738abb3e4c4
finnishtransportagency/harja
suola.cljs
(ns harja.views.urakka.suunnittelu.suola "Urakan suolan käytön suunnittelu" (:require [reagent.core :refer [atom wrap] :as r] [cljs.core.async :refer [<!]] [tuck.core :as tuck] [harja.domain.oikeudet :as oikeudet] [harja.loki :refer [log logt tarkkaile!]] ...
null
https://raw.githubusercontent.com/finnishtransportagency/harja/e4207e7b43a5c0836fd2e9529ee7d7869e23ced7/src/cljs/harja/views/urakka/suunnittelu/suola.cljs
clojure
:tarkkaile-ulkopuolisia-muutoksia? true :tarkkaile-ulkopuolisia-muutoksia? true :tarkkaile-ulkopuolisia-muutoksia? true -------
(ns harja.views.urakka.suunnittelu.suola "Urakan suolan käytön suunnittelu" (:require [reagent.core :refer [atom wrap] :as r] [cljs.core.async :refer [<!]] [tuck.core :as tuck] [harja.domain.oikeudet :as oikeudet] [harja.loki :refer [log logt tarkkaile!]] ...
8a3cec7803cf15ddc4f6bdb929975ca3fe7986e1d836ff68f7a58788f7b331e0
flipstone/orville
Update.hs
| Module : Orville . PostgreSQL.Internal . Expr . Update Copyright : Flipstone Technology Partners 2021 License : MIT Module : Orville.PostgreSQL.Internal.Expr.Update Copyright : Flipstone Technology Partners 2021 License : MIT -} module Orville.PostgreSQL.Internal.Expr.Update ( SetClauseList, ...
null
https://raw.githubusercontent.com/flipstone/orville/d68cc4a85bf84269e4883d232cf7bf91a626662b/orville-postgresql-libpq/src/Orville/PostgreSQL/Internal/Expr/Update.hs
haskell
| Module : Orville . PostgreSQL.Internal . Expr . Update Copyright : Flipstone Technology Partners 2021 License : MIT Module : Orville.PostgreSQL.Internal.Expr.Update Copyright : Flipstone Technology Partners 2021 License : MIT -} module Orville.PostgreSQL.Internal.Expr.Update ( SetClauseList, ...
eabd4b81e1e5e242730b2440c63f1462bad998c5f060e78757646993a9f0f021
opencog/test-datasets
inference-history.scm
> (ExecutionLink ( stv 1.000000 0.000000 ) (GroundedSchemaNode "ModusPonensRule") (ListLink (stv 1.000000 0.000000) (ListLink (stv 1.000000 0.000000) (ImplicationLink (stv 0.632456 1.000000) (EvaluationLink (stv 0.585413 1.000000) (PredicateNode "smokes") (ListLink (stv 1...
null
https://raw.githubusercontent.com/opencog/test-datasets/62677dbe59de4d59a9eb308e59ac602dff452872/pln/tuffy/smokes/tests/03-19-14-c/inference-history.scm
scheme
> (ExecutionLink ( stv 1.000000 0.000000 ) (GroundedSchemaNode "ModusPonensRule") (ListLink (stv 1.000000 0.000000) (ListLink (stv 1.000000 0.000000) (ImplicationLink (stv 0.632456 1.000000) (EvaluationLink (stv 0.585413 1.000000) (PredicateNode "smokes") (ListLink (stv 1...
167fbf072668a2b25d431cff4bca90d75a4150dbd9672f29eb682ce2579715e6
pashatsyganenko/main
16102020.ml
type 'a tree = Leaf | Node of ('a tree) * ('a tree) * 'a ;; let rec mem tree a = match tree with | Leaf -> false | Node (tr1, tr2, b) -> if a=b then true else (mem tr1 a) || (mem tr2 a) ;; let rec add tree a = match tree with | Leaf -> Node (Leaf, Leaf, a) | Node (tr1, tr2, b) -> if a=b then tree else...
null
https://raw.githubusercontent.com/pashatsyganenko/main/de86975f0bb6f87efa394e80d66a4f938de9b530/16102020.ml
ocaml
type 'a tree = Leaf | Node of ('a tree) * ('a tree) * 'a ;; let rec mem tree a = match tree with | Leaf -> false | Node (tr1, tr2, b) -> if a=b then true else (mem tr1 a) || (mem tr2 a) ;; let rec add tree a = match tree with | Leaf -> Node (Leaf, Leaf, a) | Node (tr1, tr2, b) -> if a=b then tree else...
03e7cf2d6e0f27df5e037ae6b44877e1266660497fbb25bd1947ea4dadbfa5a1
chanshunli/wechat-clj
project.clj
(defproject wechat-clj "0.2.4-SNAPSHOT" :description "微信支付,网络授权,加密库: 包括了前端的wx签名等" :url "-clj" :license {:name "EPL-2.0 OR GPL-2.0-or-later WITH Classpath-exception-2.0" :url "-2.0/"} :dependencies [[org.clojure/clojure "1.10.1"] [org.clojure/clojurescript "1.10.597"] ...
null
https://raw.githubusercontent.com/chanshunli/wechat-clj/145a99825669b743a09a8565fa1301d90480c91b/project.clj
clojure
(defproject wechat-clj "0.2.4-SNAPSHOT" :description "微信支付,网络授权,加密库: 包括了前端的wx签名等" :url "-clj" :license {:name "EPL-2.0 OR GPL-2.0-or-later WITH Classpath-exception-2.0" :url "-2.0/"} :dependencies [[org.clojure/clojure "1.10.1"] [org.clojure/clojurescript "1.10.597"] ...
88c7dd879eaaa8540deb36f377d947b5cc601bd24664013435fd25d5229063dd
erszcz/learning
spawning_worker.erl
-module(spawning_worker). -behaviour(gen_server). %% API -export([ start_link/0 ]). %% gen_server callbacks -export([init/1, handle_call/3, handle_cast/2, handle_info/2, terminate/2, code_change/3]). %% internal -export([ child_loop/0 ]). -define(SERVER, ?MODULE). -recor...
null
https://raw.githubusercontent.com/erszcz/learning/b21c58a09598e2aa5fa8a6909a80c81dc6be1601/erlang-supervisors/src/spawning_worker.erl
erlang
API gen_server callbacks internal =================================================================== API =================================================================== =================================================================== gen_server callbacks ====================================================...
-module(spawning_worker). -behaviour(gen_server). -export([ start_link/0 ]). -export([init/1, handle_call/3, handle_cast/2, handle_info/2, terminate/2, code_change/3]). -export([ child_loop/0 ]). -define(SERVER, ?MODULE). -record(state, {}). start_link() -> gen_ser...
8eeaf9654d6f50ed0bf37c45705653d0bb5656bc5458409f2031dcf79c2b4b1e
ermine/xmpp
ucd_reader.ml
open Printf let _ = Printexc.record_backtrace true let r = Str.regexp ";" let r2 = Str.regexp "^[0-9A-F]+" let is_compat v = v <> "" && v.[0] = '<' let to_int v = int_of_string ("0x" ^ v) let convert_d v = if v = "" then [||] else let s = if v.[0] = '<' then let s = String.index v '>...
null
https://raw.githubusercontent.com/ermine/xmpp/85f31c5aaac6e3b5042694ff33ac8afdfb845c06/aux/ucd_reader.ml
ocaml
open Printf let _ = Printexc.record_backtrace true let r = Str.regexp ";" let r2 = Str.regexp "^[0-9A-F]+" let is_compat v = v <> "" && v.[0] = '<' let to_int v = int_of_string ("0x" ^ v) let convert_d v = if v = "" then [||] else let s = if v.[0] = '<' then let s = String.index v '>...
54e91dfa4f4859dd922353dfbf61e095bf8fc970330614fd9c1385c5f9aafede
ndmitchell/build-shootout
monad2-shake.hs
import Development.Shake main = shakeArgs shakeOptions $ do "output" %> \out -> do src <- readFileLines "list" need src cmd Shell "cat" src ">" [out] "list" %> \out -> do need ["source"] cmd Shell "sh monad2-run source -- list"
null
https://raw.githubusercontent.com/ndmitchell/build-shootout/40b2fd3804d89f8c7cf0a37b3a9d45a863be04ce/examples/monad2-shake.hs
haskell
import Development.Shake main = shakeArgs shakeOptions $ do "output" %> \out -> do src <- readFileLines "list" need src cmd Shell "cat" src ">" [out] "list" %> \out -> do need ["source"] cmd Shell "sh monad2-run source -- list"
6e6825472695dfc13140de5186b032b32b017a5cd8d678c70f41948e3794e64d
naproche/naproche
Cache.hs
{- generated by Isabelle -} Title : Isabelle / Cache.hs Author : Makarius LICENSE : BSD 3 - clause ( Isabelle ) Cache for slow computations . Author: Makarius LICENSE: BSD 3-clause (Isabelle) Cache for slow computations. -} module Isabelle.Cache ( T, init, apply, p...
null
https://raw.githubusercontent.com/naproche/naproche/9eae6174d7961eacc467c325002235aec99bdf37/Isabelle/src/Isabelle/Cache.hs
haskell
generated by Isabelle
Title : Isabelle / Cache.hs Author : Makarius LICENSE : BSD 3 - clause ( Isabelle ) Cache for slow computations . Author: Makarius LICENSE: BSD 3-clause (Isabelle) Cache for slow computations. -} module Isabelle.Cache ( T, init, apply, prune ) where import Prelude...
684a9b22348ab510dd30135d4f40fe6c5a82be0ca929c172a4a437e8738859c0
exercism/babashka
project.clj
(defproject proverb "0.1.0-SNAPSHOT" :description "proverb exercise." :url "" :dependencies [[org.clojure/clojure "1.10.0"]])
null
https://raw.githubusercontent.com/exercism/babashka/707356c52e08490e66cb1b2e63e4f4439d91cf08/exercises/practice/proverb/project.clj
clojure
(defproject proverb "0.1.0-SNAPSHOT" :description "proverb exercise." :url "" :dependencies [[org.clojure/clojure "1.10.0"]])
5466c99533997b633b4dfde2dd24c9ff0a810cc3fbc7ff6ad65fa9ac0e3a8a6b
gigasquid/libpython-clj-examples
core.clj
(ns gigasquid.pygal.core (:require [libpython-clj.require :refer [require-python]] [libpython-clj.python :as py :refer [py. py.. py.- att-type-map ->python ->jvm]...
null
https://raw.githubusercontent.com/gigasquid/libpython-clj-examples/f151c00415c82a144a13959ff7b56f58704ac6f2/src/gigasquid/pygal/core.clj
clojure
Python installation => :ok # For list of configuration see Some configurable settings => "My Pygal Chart" => true => false => pygal.style.Style => false => true For full list of options try => see the useful list in your REPL ... For bar-chart => <pygal.graph.bar.Bar object at 0x12709df50> => <pygal.graph.ba...
(ns gigasquid.pygal.core (:require [libpython-clj.require :refer [require-python]] [libpython-clj.python :as py :refer [py. py.. py.- att-type-map ->python ->jvm]...
bf95a7cf05667470cefb7a174085d2a5bdbe9d81ff763ba5b5432e2fbb58cc96
klutometis/clrs
heap.scm
(define (left index) (- (* (+ index 1) 2) 1)) (define (right index) (* (+ index 1) 2)) (define (parent index) (- (floor (/ (+ index 1) 2)) 1)) (define (heap-swap! heap i j) (swap! (heap-data heap) i j)) (define (heap-ref heap index) (list-ref (heap-data heap) index)) (define (heap-length heap) (length ...
null
https://raw.githubusercontent.com/klutometis/clrs/f85a8f0036f0946c9e64dde3259a19acc62b74a1/6.2/heap.scm
scheme
(define (left index) (- (* (+ index 1) 2) 1)) (define (right index) (* (+ index 1) 2)) (define (parent index) (- (floor (/ (+ index 1) 2)) 1)) (define (heap-swap! heap i j) (swap! (heap-data heap) i j)) (define (heap-ref heap index) (list-ref (heap-data heap) index)) (define (heap-length heap) (length ...
f6b22857cb88574a5bb076e5f068fbaa29f6e21b4aa1f36e7a0a64e4ae83b7a4
racket/racket7
thread.rkt
#lang racket/base (require (only-in '#%linklet primitive-table)) (provide atomically non-atomically atomically/no-interrupts check-current-custodian) (define table (or (primitive-table '#%thread) (error '#%thread "scheduler cooperation not supported by host"))) (define-syntax bounc...
null
https://raw.githubusercontent.com/racket/racket7/5dbb62c6bbec198b4a790f1dc08fef0c45c2e32b/racket/src/io/host/thread.rkt
racket
raw variant that takes a list of evts Cannot be exited with `non-atomically`: in atomic mode
#lang racket/base (require (only-in '#%linklet primitive-table)) (provide atomically non-atomically atomically/no-interrupts check-current-custodian) (define table (or (primitive-table '#%thread) (error '#%thread "scheduler cooperation not supported by host"))) (define-syntax bounc...
2e2a99675d5654521e5adc3c86b5495148f03b1f93689874fcab2e3bdc2bf911
okuoku/nausicaa
make-tables.sps
;;; Part of : / Scheme ;;;Contents: rebuild the CSV lexer tables Date : Tue Jul 21 , 2009 ;;; ;;;Abstract ;;; ;;; ;;; Copyright ( c ) 2009 , 2010 < > ;;; ;;;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 Softwar...
null
https://raw.githubusercontent.com/okuoku/nausicaa/50e7b4d4141ad4d81051588608677223fe9fb715/scheme/src/libraries/nausicaa/csv/make-tables.sps
scheme
Contents: rebuild the CSV lexer tables Abstract 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 your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY...
Part of : / Scheme Date : Tue Jul 21 , 2009 Copyright ( c ) 2009 , 2010 < > the Free Software Foundation , either version 3 of the License , or ( at General Public License for more details . You should have received a copy of the GNU General Public License #!r6rs (import (rnrs) (nausicaa silex)) (lex (i...
3ca378b1e970a1da4dd52e807619661a531f41ef96fbc6e495809816e830f5cd
takikawa/racket-ppa
info.rkt
(module info setup/infotab (#%module-begin (define collection (quote multi)) (define deps (quote ("base" "testing-util-lib"))) (define implies (quote ("testing-util-lib"))) (define pkg-desc "RackUnit testing framework") (define pkg-authors (quote (ryanc noel))) (define version "1.10") (define license (quote (Apache-2.0...
null
https://raw.githubusercontent.com/takikawa/racket-ppa/26d6ae74a1b19258c9789b7c14c074d867a4b56b/share/pkgs/rackunit-lib/info.rkt
racket
(module info setup/infotab (#%module-begin (define collection (quote multi)) (define deps (quote ("base" "testing-util-lib"))) (define implies (quote ("testing-util-lib"))) (define pkg-desc "RackUnit testing framework") (define pkg-authors (quote (ryanc noel))) (define version "1.10") (define license (quote (Apache-2.0...
abb598280dda54ab849d414fc8d63fb0609e3267d031c75368fa62bafbe2b390
UU-ComputerScience/uhc
Ord.hs
# LANGUAGE CPP # # OPTIONS_GHC -XNoImplicitPrelude # ----------------------------------------------------------------------------- -- | -- Module : Data.Ord Copyright : ( c ) The University of Glasgow 2005 -- License : BSD-style (see the file libraries/base/LICENSE) -- -- Maintainer : -- Stability...
null
https://raw.githubusercontent.com/UU-ComputerScience/uhc/f2b94a90d26e2093d84044b3832a9a3e3c36b129/EHC/ehclib/base/Data/Ord.hs
haskell
--------------------------------------------------------------------------- | Module : Data.Ord License : BSD-style (see the file libraries/base/LICENSE) Maintainer : Stability : stable Portability : portable --------------------------------------------------------------------------- | > ...
# LANGUAGE CPP # # OPTIONS_GHC -XNoImplicitPrelude # Copyright : ( c ) The University of Glasgow 2005 module Data.Ord ( Ord(..), Ordering(..), comparing, ) where #if __GLASGOW_HASKELL__ import GHC.Base #endif Useful combinator for use in conjunction with the @xxxBy@ family > ... ( compari...
7cc952325b2935d5201c4f5cf70ad95dc895b7bbe5d59f1f2ca627ec2d014a2c
ocurrent/solver-service
solver_worker.mli
module Log_data = Log_data module Context = Context module Log = Log module Process = Process val solve_to_custom : Solver_service_api.Worker.Solve_request.t -> Cluster_api.Custom.payload (** [solve_to_custom req] converts the solver request to a custom job specification. *) val solve_of_custom : Solver_servi...
null
https://raw.githubusercontent.com/ocurrent/solver-service/8232d6c0521cd2834e8eb6302f6bdfc00263fb8b/worker/solver_worker.mli
ocaml
* [solve_to_custom req] converts the solver request to a custom job specification. * [solve_of_custom c] tries to read the custom job specification as a solver request. * [solve ~solver ~switch ~log c] interprets [c] as a solver request and solves it using [solver]. * [spawn_local ()] forks a process run...
module Log_data = Log_data module Context = Context module Log = Log module Process = Process val solve_to_custom : Solver_service_api.Worker.Solve_request.t -> Cluster_api.Custom.payload val solve_of_custom : Solver_service_api.Raw.Reader.pointer_t Cluster_api.Custom.t -> (Solver_service_api.Worker.Solve_reque...
f4223b5d55716e43fb49423f0850aaf01ca6cf071810107b85de79e80bd5190c
iustin/corydalis
Orphans.hs
Copyright ( C ) 2013 This program is free software : you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation , either version 3 of the License , or ( at your option ) any later version . This program is distributed i...
null
https://raw.githubusercontent.com/iustin/corydalis/7b202b221ff61a66f01e63b104b89838f7a8be05/src/Compat/Orphans.hs
haskell
Copyright ( C ) 2013 This program is free software : you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation , either version 3 of the License , or ( at your option ) any later version . This program is distributed i...
f2e37474ac2b02dac38cd7fb3299e1f0bd0b20be582679f05a26de92c76cfe64
footprintanalytics/footprint-web
fixtures.clj
(ns metabase.test.fixtures (:require [metabase.test-runner.assert-exprs :as test-runner.assert-exprs] [metabase.test.initialize :as initialize])) (comment test-runner.assert-exprs/keep-me) ; just to make sure stuff like `re=` and `schema=` get loaded (defn initialize [& what] (fn [thunk] (apply ...
null
https://raw.githubusercontent.com/footprintanalytics/footprint-web/d3090d943dd9fcea493c236f79e7ef8a36ae17fc/test/metabase/test/fixtures.clj
clojure
just to make sure stuff like `re=` and `schema=` get loaded change the arglists for `initialize` to list all the possible args for REPL-usage convenience. Don't do
(ns metabase.test.fixtures (:require [metabase.test-runner.assert-exprs :as test-runner.assert-exprs] [metabase.test.initialize :as initialize])) (defn initialize [& what] (fn [thunk] (apply initialize/initialize-if-needed! what) (thunk))) this directly in ` initialize ` itself because it...
5cba35b19ed8798b238ce3ea3a01113f3d78cc2a204746f080ddd49faadbf337
noinia/hgeometry
Bench.hs
module Algorithms.Geometry.ConvexHull.Bench (benchmark) where import qualified Algorithms.Geometry.ConvexHull.DivideAndConquer as DivideAndConquer import qualified Algorithms.Geometry.ConvexHull.GrahamScan as GrahamScan import qualified Algorithms.Geometry.ConvexHull.JarvisMarch as JarvisMarch import qualif...
null
https://raw.githubusercontent.com/noinia/hgeometry/89cd3d3109ec68f877bf8e34dc34b6df337a4ec1/hgeometry/benchmark/Algorithms/Geometry/ConvexHull/Bench.hs
haskell
------------------------------------------------------------------------------ ) ) <$> genPts n | Benchmark building the convexHull
module Algorithms.Geometry.ConvexHull.Bench (benchmark) where import qualified Algorithms.Geometry.ConvexHull.DivideAndConquer as DivideAndConquer import qualified Algorithms.Geometry.ConvexHull.GrahamScan as GrahamScan import qualified Algorithms.Geometry.ConvexHull.JarvisMarch as JarvisMarch import qualif...
40d67e79bbd7d57d7c06729853c58acb1c31d9a60a870b00dea63d4e7396b3cd
well-typed-lightbulbs/ocaml-esp32
test_longident.ml
(* TEST flags = "-I ${ocamlsrcdir}/parsing" include ocamlcommon * expect *) module L = Longident [%%expect {| module L = Longident |}] let flatten_ident = L.flatten (L.Lident "foo") [%%expect {| val flatten_ident : string list = ["foo"] |}] let flatten_dot = L.flatten (L.Ldot (L.Lident "M", "foo")) [%%expect...
null
https://raw.githubusercontent.com/well-typed-lightbulbs/ocaml-esp32/c24fcbfbee0e3aa6bb71c9b467c60c6bac326cc7/testsuite/tests/compiler-libs/test_longident.ml
ocaml
TEST flags = "-I ${ocamlsrcdir}/parsing" include ocamlcommon * expect
module L = Longident [%%expect {| module L = Longident |}] let flatten_ident = L.flatten (L.Lident "foo") [%%expect {| val flatten_ident : string list = ["foo"] |}] let flatten_dot = L.flatten (L.Ldot (L.Lident "M", "foo")) [%%expect {| val flatten_dot : string list = ["M"; "foo"] |}] let flatten_apply = L.flatten (L...
dc836bba3e5cf2b98d30ee6b93f3625b6bb915f9aa381942901eee1980d428db
anchpop/wise_mans_haskell
computeEnergy.hs
energy :: (Num a) => a -> a energy mass = let cSquared = 299792458^2 in mass * cSquared
null
https://raw.githubusercontent.com/anchpop/wise_mans_haskell/021ca3f3d96ebc0ecf2daf1a802fc33d067e24cc/haskelltests/should_compile/computeEnergy.hs
haskell
energy :: (Num a) => a -> a energy mass = let cSquared = 299792458^2 in mass * cSquared
f5bcff135f8fcb3c55401f253a445695ab2d11e7c7db63413030b855b62998b9
mpickering/eventlog2html
VegaTemplate.hs
{-# LANGUAGE OverloadedStrings #-} module Eventlog.VegaTemplate ( AreaChartType(..) , ChartConfig(..) , ChartType(..) , vegaResult , vegaJson , vegaJsonText ) where import Prelude hiding (filter, lookup) import Graphics.Vega.VegaLite as VL import Data.Aeson.Types hiding (Number) import Data.Text (Tex...
null
https://raw.githubusercontent.com/mpickering/eventlog2html/a18ec810328c71122ccc630fccfcea5b48c0e937/src/Eventlog/VegaTemplate.hs
haskell
# LANGUAGE OverloadedStrings # Arguments for directly outputting javascript --------------------------------------------------------------------------------- The visualization consists of: - SelectionChart (on the left bottom) - Legend (on the right) -----------------------------------------------------------------...
module Eventlog.VegaTemplate ( AreaChartType(..) , ChartConfig(..) , ChartType(..) , vegaResult , vegaJson , vegaJsonText ) where import Prelude hiding (filter, lookup) import Graphics.Vega.VegaLite as VL import Data.Aeson.Types hiding (Number) import Data.Text (Text) import Data.Aeson.Text (encodeTo...
4268c2ad2733438ab87bae86a57790b1ee21c531d18c9472b39c3b82e65349db
voxoz/emqttd
emqttd_trace_sup.erl
%%-------------------------------------------------------------------- Copyright ( c ) 2013 - 2017 EMQ Enterprise , Inc. ( ) %% 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 %% %% ...
null
https://raw.githubusercontent.com/voxoz/emqttd/2be612e0e7a00a866cd9af350a030966d73fbc09/src/emqttd_trace_sup.erl
erlang
-------------------------------------------------------------------- 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 ...
Copyright ( c ) 2013 - 2017 EMQ Enterprise , Inc. ( ) Licensed under the Apache License , Version 2.0 ( the " License " ) ; distributed under the License is distributed on an " AS IS " BASIS , -module(emqttd_trace_sup). -author("Feng Lee <>"). -behaviour(supervisor). -export([start_link/0]). -export([init/1...
d1490bfdb56f90f800e884cde2298caa034ddc0d856e42fd5d559549dc99ed38
simonmichael/hledger
EditR.hs
# LANGUAGE LambdaCase # # LANGUAGE NamedFieldPuns # {-# LANGUAGE OverloadedStrings #-} # LANGUAGE QuasiQuotes # # LANGUAGE ScopedTypeVariables # # LANGUAGE TemplateHaskell # module Hledger.Web.Handler.EditR ( getEditR , postEditR ) where import Control.Monad.Except (runExceptT) import Hledger.Web.Import import ...
null
https://raw.githubusercontent.com/simonmichael/hledger/3b2999ee29a4b779ed5fee37ee165d171327f521/hledger-web/Hledger/Web/Handler/EditR.hs
haskell
# LANGUAGE OverloadedStrings #
# LANGUAGE LambdaCase # # LANGUAGE NamedFieldPuns # # LANGUAGE QuasiQuotes # # LANGUAGE ScopedTypeVariables # # LANGUAGE TemplateHaskell # module Hledger.Web.Handler.EditR ( getEditR , postEditR ) where import Control.Monad.Except (runExceptT) import Hledger.Web.Import import Hledger.Web.Widget.Common (f...
dc44faa22b0b07fec83324628496cd70c5f2c0643f216e1115dbc891e0b8b455
pfeodrippe/orchardia
ns_mappings.clj
(ns compliment.sources.ns-mappings (:require [clojure.string :as str] [compliment.sources :refer [defsource]] [compliment.utils :refer [fuzzy-matches? resolve-namespace]])) (defn var-symbol? "Test if prefix resembles a var name." [x] (re-matches #"([^\/\:][^\.\/]*([^\/\:]*\/[^\.\/]*)?)?...
null
https://raw.githubusercontent.com/pfeodrippe/orchardia/42cb2b663f59e3ee314e3e2fe128407162a0183a/src/compliment/sources/ns_mappings.clj
clojure
(ns compliment.sources.ns-mappings (:require [clojure.string :as str] [compliment.sources :refer [defsource]] [compliment.utils :refer [fuzzy-matches? resolve-namespace]])) (defn var-symbol? "Test if prefix resembles a var name." [x] (re-matches #"([^\/\:][^\.\/]*([^\/\:]*\/[^\.\/]*)?)?...
3bd6be5758d8124a5d165c9e4a86f9761500090d36f795cd52587cd9922bde06
gsakkas/rite
3172.ml
let pipe fs = let f a x = 0 in let base = fs in List.fold_left f base fs;; fix let pipe fs = let f a x = x in let base x = x in List.fold_left f base fs ; ; let pipe fs = let f a x = x in let base x = x in List.fold_left f base fs;; *) changed spans ( 2,27)-(2,28 ) x VarG ( 2,43)-(2,45 ) fun ...
null
https://raw.githubusercontent.com/gsakkas/rite/958a0ad2460e15734447bc07bd181f5d35956d3b/data/sp14_min/3172.ml
ocaml
let pipe fs = let f a x = 0 in let base = fs in List.fold_left f base fs;; fix let pipe fs = let f a x = x in let base x = x in List.fold_left f base fs ; ; let pipe fs = let f a x = x in let base x = x in List.fold_left f base fs;; *) changed spans ( 2,27)-(2,28 ) x VarG ( 2,43)-(2,45 ) fun ...
23322c42677b64211afe2316162565a59c235e2a00ed84d5ef8995936cbbc5d2
luminus-framework/examples
nrepl.clj
(ns multi-client-ws-aleph.nrepl (:require [nrepl.server :as nrepl] [clojure.tools.logging :as log])) (defn start "Start a network repl for debugging on specified port followed by an optional parameters map. The :bind, :transport-fn, :handler, :ack-port and :greeting-fn will be forwarded to clojure.to...
null
https://raw.githubusercontent.com/luminus-framework/examples/cbeee2fef8f457a6a6bac2cae0b640370ae2499b/multi-client-ws-aleph/src/clj/multi_client_ws_aleph/nrepl.clj
clojure
(ns multi-client-ws-aleph.nrepl (:require [nrepl.server :as nrepl] [clojure.tools.logging :as log])) (defn start "Start a network repl for debugging on specified port followed by an optional parameters map. The :bind, :transport-fn, :handler, :ack-port and :greeting-fn will be forwarded to clojure.to...
027e47ab4880d1d03008cacae397cabd8c443894190ae902466d7e546bf09db0
s-expressionists/Cleavir
gui.lisp
(cl:in-package #:cleavir-ast-visualizer) (clim:define-application-frame visualizer () ((%ast :initarg :ast :reader ast)) (:panes (application :application :scroll-bars nil :display-function 'display-ast :text-style (clim:make-text-style :sans-serif :roman 12)) ...
null
https://raw.githubusercontent.com/s-expressionists/Cleavir/b367239ad7a0d5f4c227f33b3761249272935b10/Abstract-syntax-tree/Visualizer/gui.lisp
lisp
(cl:in-package #:cleavir-ast-visualizer) (clim:define-application-frame visualizer () ((%ast :initarg :ast :reader ast)) (:panes (application :application :scroll-bars nil :display-function 'display-ast :text-style (clim:make-text-style :sans-serif :roman 12)) ...
fbfc7be3020b39a9191dab8e417e39f4f00dbe1f1198b18ddbc70a62aa382b5c
haskell-repa/repa
Graph.hs
module Data.Repa.Query.Graph ( -- * Graphs Graph (..) , Node (..) -- * Flow sources , Source (..) -- * Flow operators , FlowOp (..) -- * Scalar expressions , Exp (..) , Val (..)...
null
https://raw.githubusercontent.com/haskell-repa/repa/c867025e99fd008f094a5b18ce4dabd29bed00ba/repa-query/Data/Repa/Query/Graph.hs
haskell
* Graphs * Flow sources * Flow operators * Scalar expressions
module Data.Repa.Query.Graph Graph (..) , Node (..) , Source (..) , FlowOp (..) , Exp (..) , Val (..) , Lit (..) , ScalarOp (..)) where import Data.Repa.Query.Graph.Graph
34f9c794ab4ed5b88a23f6768066561955c143cf3c083887a5ab6716209f7f50
TrustInSoft/tis-interpreter
qstack.mli
(**************************************************************************) (* *) This file is part of Frama - C. (* *) Copyright ...
null
https://raw.githubusercontent.com/TrustInSoft/tis-interpreter/33132ce4a825494ea48bf2dd6fd03a56b62cc5c3/src/libraries/utils/qstack.mli
ocaml
************************************************************************ alternatives) ...
This file is part of Frama - C. Copyright ( C ) 2007 - 2015 CEA ( Commissariat à l'énergie atomique et aux énergies Lesser General Public License as published by the Free Software Foundation , v...
418cb7517ab2ee5a76c936eb66c4c1e2b0daa5ae0d9b6767c108cf40d5a389a7
DavidAlphaFox/RabbitMQ
mirrored_supervisor.erl
The contents of this file are subject to the Mozilla Public License %% Version 1.1 (the "License"); you may not use this file except in %% compliance with the License. You may obtain a copy of the License at %% / %% Software distributed under the License is distributed on an " AS IS " %% basis, WITHOUT WARRANTY OF ...
null
https://raw.githubusercontent.com/DavidAlphaFox/RabbitMQ/0a64e6f0464a9a4ce85c6baa52fb1c584689f49a/src/mirrored_supervisor.erl
erlang
Version 1.1 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at / basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License. 它像普通的Supervisor...
The contents of this file are subject to the Mozilla Public License Software distributed under the License is distributed on an " AS IS " The Original Code is RabbitMQ . The Initial Developer of the Original Code is GoPivotal , Inc. Copyright ( c ) 2011 - 2014 GoPivotal , Inc. All rights reserved . -module...
9903d01b6cdad862f2d079506e94595a0cac5ebd1951cfaab5cc90c2b5731722
canonical/jepsen.dqlite
nemesis.clj
(ns jepsen.dqlite.nemesis "Nemeses for Dqlite" (:require [jepsen [control :as c] [nemesis :as n] [util :refer [random-nonempty-subset]] [generator :as gen]] [jepsen.nemesis [combined :as nc]] [jepsen.dqlite.db :as db])) (defn member-nemesis "A...
null
https://raw.githubusercontent.com/canonical/jepsen.dqlite/1f87a060409ac4f58a290189fa06e5c9a8f08dbd/src/jepsen/dqlite/nemesis.clj
clojure
(ns jepsen.dqlite.nemesis "Nemeses for Dqlite" (:require [jepsen [control :as c] [nemesis :as n] [util :refer [random-nonempty-subset]] [generator :as gen]] [jepsen.nemesis [combined :as nc]] [jepsen.dqlite.db :as db])) (defn member-nemesis "A...
1bc4ac62f58e9fd3ab9af089c27d06870222c479b8d24d89618ac47ac53d3428
uw-unsat/serval-sosp19
riscv32-alu64-x.rkt
#lang racket (require "../riscv32.rkt") (require serval/lib/unittest) (define tests (test-suite+ "riscv32-alu32-x tests" (jit-test-case '(BPF_ALU64 BPF_MOV BPF_X)) (jit-test-case '(BPF_ALU64 BPF_ADD BPF_X)) (jit-test-case '(BPF_ALU64 BPF_SUB BPF_X)) (jit-test-case '(BPF_ALU64 BPF_AND BPF_X)) ...
null
https://raw.githubusercontent.com/uw-unsat/serval-sosp19/175c42660fad84b44e4c9f6f723fd3c9450d65d4/bpf/jit/test/riscv32-alu64-x.rkt
racket
#lang racket (require "../riscv32.rkt") (require serval/lib/unittest) (define tests (test-suite+ "riscv32-alu32-x tests" (jit-test-case '(BPF_ALU64 BPF_MOV BPF_X)) (jit-test-case '(BPF_ALU64 BPF_ADD BPF_X)) (jit-test-case '(BPF_ALU64 BPF_SUB BPF_X)) (jit-test-case '(BPF_ALU64 BPF_AND BPF_X)) ...
a4090bd872b353e7e87d2b6427da0149afd3016f31de67c1bad92c2ccc4e55c9
binsec/haunted
lreader.ml
(**************************************************************************) This file is part of BINSEC . (* *) Copyright ( C ) 2016 - 2019 CEA ( Co...
null
https://raw.githubusercontent.com/binsec/haunted/7ffc5f4072950fe138f53fe953ace98fff181c73/src/disasm/x86/lreader.ml
ocaml
************************************************************************ alternatives) you can redistribute it an...
This file is part of BINSEC . Copyright ( C ) 2016 - 2019 CEA ( Commissariat à l'énergie atomique et aux énergies Lesser General Public License as published by the Free Software Foundation , ve...
c685f681330bfc6ca2fe06db87b01960fcf1b73b171d3a442ef85163c925fb9a
gilith/hol-light
meson.ml
(* ========================================================================= *) Version of the procedure a la PTTP . Various search options . (* *) , University of Cambridge Computer Laboratory (* ...
null
https://raw.githubusercontent.com/gilith/hol-light/f3f131963f2298b4d65ee5fead6e986a4a14237a/meson.ml
ocaml
========================================================================= ========================================================================= ---------------...
Version of the procedure a la PTTP . Various search options . , University of Cambridge Computer Laboratory ( c ) Copyright , University of Cambridge 1998 ( c ) Copyright , 1998 - 2007 needs "canon.ml";; Some pa...
b33128c5b2234f419e90bd2ed6bdff6551fbeb76fbe910a52172c4683e88ce84
clojure-interop/aws-api
AWSRAMAsync.clj
(ns com.amazonaws.services.ram.AWSRAMAsync "Interface for accessing RAM asynchronously. Each asynchronous method will return a Java Future object representing overloads which accept an AsyncHandler can be used to receive notification when an asynchronous operation completes. Note: Do not directly implement thi...
null
https://raw.githubusercontent.com/clojure-interop/aws-api/59249b43d3bfaff0a79f5f4f8b7bc22518a3bf14/com.amazonaws.services.ram/src/com/amazonaws/services/ram/AWSRAMAsync.clj
clojure
(ns com.amazonaws.services.ram.AWSRAMAsync "Interface for accessing RAM asynchronously. Each asynchronous method will return a Java Future object representing overloads which accept an AsyncHandler can be used to receive notification when an asynchronous operation completes. Note: Do not directly implement thi...
e50745b7cfc832bddd993b7537f6089ec6de59627b4bea1ff82430b138761122
rd--/hsc3
resonz.help.hs
-- resonz resonz (whiteNoise ar * 0.5) 2000 0.1 -- resonz ; modulate frequency let f = xLine kr 1000 8000 10 RemoveSynth in resonz (whiteNoise ar * 0.5) f 0.05 -- resonz ; modulate bandwidth let bw = xLine kr 1 0.001 8 RemoveSynth in resonz (whiteNoise ar * 0.5) 2000 bw -- resonz ; modulate bandwidth opposite direct...
null
https://raw.githubusercontent.com/rd--/hsc3/024d45b6b5166e5cd3f0142fbf65aeb6ef642d46/Help/Ugen/resonz.help.hs
haskell
resonz resonz ; modulate frequency resonz ; modulate bandwidth resonz ; modulate bandwidth opposite direction midi note bandwidth centre frequency resonz ; pinkNoise ; event control resonz ; pinkNoise ; event control centre frequency - ; Q
resonz (whiteNoise ar * 0.5) 2000 0.1 let f = xLine kr 1000 8000 10 RemoveSynth in resonz (whiteNoise ar * 0.5) f 0.05 let bw = xLine kr 1 0.001 8 RemoveSynth in resonz (whiteNoise ar * 0.5) 2000 bw let bw = xLine kr 0.001 1 8 RemoveSynth in resonz (whiteNoise ar * 0.5) 2000 bw resonz ; ( 1 / Q = bandwidth / ce...
a25cd12417233c54a52301c83105f8c00915c1ba3adbae289bce7f360f6c769b
Bogdanp/koyo
config.rkt
#lang racket/base (require koyo/config rackunit) (provide config-tests) (current-option-name-prefix "KOYO_TESTS") (putenv "KOYO_TESTS_D" "set from env") (define-option a) (define-option b #:default "not set") (define-option c #:default 42 (add1 c)) (define-option d) (define config-tests (test-s...
null
https://raw.githubusercontent.com/Bogdanp/koyo/93f3fd06ee596a62bb0b286cb6290a800e911154/koyo-test/koyo/config.rkt
racket
#lang racket/base (require koyo/config rackunit) (provide config-tests) (current-option-name-prefix "KOYO_TESTS") (putenv "KOYO_TESTS_D" "set from env") (define-option a) (define-option b #:default "not set") (define-option c #:default 42 (add1 c)) (define-option d) (define config-tests (test-s...
babe2de4f922c7bb8495d0c8144015a1d7cb89ac77ea72af8ce1844e041633d9
mejgun/haskell-tdlib
GetChatMessageCalendar.hs
{-# LANGUAGE OverloadedStrings #-} -- | module TD.Query.GetChatMessageCalendar where import qualified Data.Aeson as A import qualified Data.Aeson.Types as T import qualified TD.Data.SearchMessagesFilter as SearchMessagesFilter import qualified Utils as U -- | Returns information about the next messages of the spec...
null
https://raw.githubusercontent.com/mejgun/haskell-tdlib/81516bd04c25c7371d4a9a5c972499791111c407/src/TD/Query/GetChatMessageCalendar.hs
haskell
# LANGUAGE OverloadedStrings # | | | Identifier of the chat in which to return information about messages
module TD.Query.GetChatMessageCalendar where import qualified Data.Aeson as A import qualified Data.Aeson.Types as T import qualified TD.Data.SearchMessagesFilter as SearchMessagesFilter import qualified Utils as U Returns information about the next messages of the specified type in the chat split by days . Return...
16273095478b96f6f5b5ddfa353e3c602c52f0592e885f72011607a067d00414
quchen/stgi
Number.hs
{-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE QuasiQuotes #-} # LANGUAGE ScopedTypeVariables # module Test.Prelude.Number (tests) where import Data.Text (Text) import Stg.Language import Stg.Marshal import Stg.Parser.QuasiQuoter import qualified Stg.Prelude as...
null
https://raw.githubusercontent.com/quchen/stgi/dacd45cb0247f73889713dc92a911aaa835afd19/test/Testsuite/Test/Prelude/Number.hs
haskell
# LANGUAGE OverloadedStrings # # LANGUAGE QuasiQuotes # ^ Test name ^ Comparison operator | Test an arithmetic operator ^ Test name ^ Arithmetic operator
# LANGUAGE ScopedTypeVariables # module Test.Prelude.Number (tests) where import Data.Text (Text) import Stg.Language import Stg.Marshal import Stg.Parser.QuasiQuoter import qualified Stg.Prelude as Stg import Test.Machine.Evaluate.TestTemplates.MarshalledValue import Te...
f7575be6bcbb24c39ab9caaf026fee4b21df30dca78c85706a26286cba052731
liquidz/misaki
2011.01.01-foo.html.clj
@title foo @hello world ; @tag tag2 tag3 [:p "foo"]
null
https://raw.githubusercontent.com/liquidz/misaki/b8104e632058e3b3da4487513d10e666e5914ec9/test/files/core_clostache/template/posts/2011.01.01-foo.html.clj
clojure
@tag tag2 tag3
@title foo @hello world [:p "foo"]
f45c6fe58cfc3e4e1f85e1a85e2ea94a719b0d4b3cc82d1c154755c858731e7e
GaloisInc/lean-haskell-bindings
Univ.hs
# LANGUAGE OverloadedLists # {-# LANGUAGE OverloadedStrings #-} module Tests.Univ (univTests) where import Control.Lens import Test.Tasty import Test.Tasty.HUnit import qualified Language.Lean as Lean univTests :: TestTree univTests = testGroup "Univ" [ testCase "zero" testZero , testCase "one" testO...
null
https://raw.githubusercontent.com/GaloisInc/lean-haskell-bindings/2b2baa147af804551c8bcbe44f0ef3f53f8a3e9c/test/Tests/Univ.hs
haskell
# LANGUAGE OverloadedStrings # ---------------------------------------------------------------------- p1 is "l_1"
# LANGUAGE OverloadedLists # module Tests.Univ (univTests) where import Control.Lens import Test.Tasty import Test.Tasty.HUnit import qualified Language.Lean as Lean univTests :: TestTree univTests = testGroup "Univ" [ testCase "zero" testZero , testCase "one" testOne , testCase "global" testGlo...
82fdffe12ac81816a44641822c3692d156e7db7d17bf80b80518a40dc7c0a6d5
TheInnerLight/dormouse
Class.hs
{-# LANGUAGE GADTs #-} module Dormouse.Url.Class ( IsUrl(..) ) where import Dormouse.Url.Types class (Eq url, Show url) => IsUrl url where asAnyUrl :: url -> AnyUrl instance IsUrl (Url scheme) where asAnyUrl = AnyUrl instance IsUrl AnyUrl where asAnyUrl (AnyUrl u) = asAnyUrl u
null
https://raw.githubusercontent.com/TheInnerLight/dormouse/f2bba11c19d21e2779302bab167b9120c8179178/dormouse-uri/src/Dormouse/Url/Class.hs
haskell
# LANGUAGE GADTs #
module Dormouse.Url.Class ( IsUrl(..) ) where import Dormouse.Url.Types class (Eq url, Show url) => IsUrl url where asAnyUrl :: url -> AnyUrl instance IsUrl (Url scheme) where asAnyUrl = AnyUrl instance IsUrl AnyUrl where asAnyUrl (AnyUrl u) = asAnyUrl u
e0091311c1b43a9c592afe60eccaede88a14ee349af24abc5f8fd07b9cae0804
eugeneia/athens
accumulators.lisp
(in-package #:jpl-util) (defmacro accumulate-to-vector ((set-size/element-type accumulate) &body body) "Evaluates BODY, accumulating elements to a fresh vector, resulting in the vector. The number of elements to be accumulated must be determined before accumulation begins. The order of the elements of the resu...
null
https://raw.githubusercontent.com/eugeneia/athens/cc9d456edd3891b764b0fbf0202a3e2f58865cbf/quicklisp/dists/quicklisp/software/cl-jpl-util-20151031-git/accumulators.lisp
lisp
The resulting list, but with a sentinel at the head.
(in-package #:jpl-util) (defmacro accumulate-to-vector ((set-size/element-type accumulate) &body body) "Evaluates BODY, accumulating elements to a fresh vector, resulting in the vector. The number of elements to be accumulated must be determined before accumulation begins. The order of the elements of the resu...
5d19829a601f351cc923c3d2de6eaa88eb0ffc832e56d64609d6dbb1ee648967
threatgrid/ctia
asset_properties_test.clj
(ns ctia.entity.asset-properties-test (:require [clj-momo.test-helpers.core :as mth] [clojure.test :refer [deftest is are join-fixtures testing use-fixtures]] [ctia.entity.asset-properties :as sut] [ctia.test-helpers.aggregate :as aggregate] [ctia.test-helpers.auth :as ...
null
https://raw.githubusercontent.com/threatgrid/ctia/a6c8b295806c0bc9c6867a362c4122ef4167d56a/test/ctia/entity/asset_properties_test.clj
clojure
to prevent `are` from double-failing
(ns ctia.entity.asset-properties-test (:require [clj-momo.test-helpers.core :as mth] [clojure.test :refer [deftest is are join-fixtures testing use-fixtures]] [ctia.entity.asset-properties :as sut] [ctia.test-helpers.aggregate :as aggregate] [ctia.test-helpers.auth :as ...
a75c844f8f7a861a7b5c2b6011da3e2107d7b397b7e0b115c93dc479abb237ed
lamdu/lamdu-calculus
Lens.hs
# LANGUAGE NoImplicitPrelude , RankNTypes , NoMonomorphismRestriction # # LANGUAGE FlexibleContexts , TypeFamilies , TypeApplications , FlexibleInstances # # LANGUAGE DataKinds , ScopedTypeVariables , LambdaCase , TypeOperators # module Lamdu.Calc.Lens Leafs valHole , valBodyHole , valVar , valLitera...
null
https://raw.githubusercontent.com/lamdu/lamdu-calculus/724c0423f5c8737acd1d0637b904c7b3216c980c/src/Lamdu/Calc/Lens.hs
haskell
Non-leafs only a legal traversal if keys not modified to be duplicates! # INLINE bodyTIds # # INLINE bodyTIds # # INLINE valApply # # INLINE valLiteral # # INLINE valBodyLiteral #
# LANGUAGE NoImplicitPrelude , RankNTypes , NoMonomorphismRestriction # # LANGUAGE FlexibleContexts , TypeFamilies , TypeApplications , FlexibleInstances # # LANGUAGE DataKinds , ScopedTypeVariables , LambdaCase , TypeOperators # module Lamdu.Calc.Lens Leafs valHole , valBodyHole , valVar , valLitera...
f22e39b7122c19ab41a800f65d1d8677f5e2e664c8cdcf09363b2383f32cedbe
nuprl/gradual-typing-performance
author.rkt
#lang racket/base (provide author*) (define author* '(("Ben Greenman" neu) ("Asumu Takikawa" (neu igalia)) ("Max S. New" (neu)) ("Daniel Feltey" (neu nwu)) ("Robert Bruce Findler" (nwu)) ("Jan Vitek" (neu ctu)) ("Matthias Felleisen" (neu))))
null
https://raw.githubusercontent.com/nuprl/gradual-typing-performance/35442b3221299a9cadba6810573007736b0d65d4/paper/jfp-2016/video/author.rkt
racket
#lang racket/base (provide author*) (define author* '(("Ben Greenman" neu) ("Asumu Takikawa" (neu igalia)) ("Max S. New" (neu)) ("Daniel Feltey" (neu nwu)) ("Robert Bruce Findler" (nwu)) ("Jan Vitek" (neu ctu)) ("Matthias Felleisen" (neu))))
4e8e535559d56ca9df1d2db71bc1740b7f8f7ae482eec005038d4912493e1f41
RutledgePaulV/kube-api
http.clj
(ns kube-api.core.http (:require [kube-api.core.utils :as utils] [clj-okhttp.core :as http] [kube-api.core.auth :as auth] [clojure.string :as strings]) (:import [okhttp3 OkHttpClient] [java.io FilterInputStream InputStream] [clojure.lang IObj])) (defprotoco...
null
https://raw.githubusercontent.com/RutledgePaulV/kube-api/ff335b5e9dbf0f10ed00227733f26898d57c2c55/kube-api-core/src/kube_api/core/http.clj
clojure
(ns kube-api.core.http (:require [kube-api.core.utils :as utils] [clj-okhttp.core :as http] [kube-api.core.auth :as auth] [clojure.string :as strings]) (:import [okhttp3 OkHttpClient] [java.io FilterInputStream InputStream] [clojure.lang IObj])) (defprotoco...