_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
10f2b9d616658a96a52912488776743b4d10db4a31be13938904b48c666eb895
input-output-hk/cardano-sl
Events.hs
module Pos.Infra.Util.JsonLog.Events ( HasJsonLogConfig (..) , JLEvent(..) , JLTxS (..) , JLTxR (..) , JLMemPool (..) , JLBlock (..) , JLTimedEvent (..) , JsonLogConfig (..) , MemPoolModifyReason (..) , appendJL , jlAdoptedBlock , jlCre...
null
https://raw.githubusercontent.com/input-output-hk/cardano-sl/1499214d93767b703b9599369a431e67d83f10a2/infra/src/Pos/Infra/Util/JsonLog/Events.hs
haskell
Only export the above from this module.
module Pos.Infra.Util.JsonLog.Events ( HasJsonLogConfig (..) , JLEvent(..) , JLTxS (..) , JLTxR (..) , JLMemPool (..) , JLBlock (..) , JLTimedEvent (..) , JsonLogConfig (..) , MemPoolModifyReason (..) , appendJL , jlAdoptedBlock , jlCre...
ff7aee0f43659d311786fac0409a2feee77f6bbbcdd27d5a580bfa1b8e74ec72
igrep/typesafe-precure
DokiDoki.hs
# LANGUAGE FlexibleInstances # # LANGUAGE MultiParamTypeClasses # {-# LANGUAGE TemplateHaskell #-} # LANGUAGE TypeFamilies # {-# LANGUAGE TypeOperators #-} # OPTIONS_GHC -fno - warn - orphans # module ACME.PreCure.Textbook.DokiDoki ( module ACME.PreCure.Textbook.DokiDoki.Types ) w...
null
https://raw.githubusercontent.com/igrep/typesafe-precure/c629e91a38f0608aae2312c9fb64c2b7435c653b/src/ACME/PreCure/Textbook/DokiDoki.hs
haskell
# LANGUAGE TemplateHaskell # # LANGUAGE TypeOperators # # ANN module girls # # ANN module transformees # # ANN module transformations # # ANN module purifications #
# LANGUAGE FlexibleInstances # # LANGUAGE MultiParamTypeClasses # # LANGUAGE TypeFamilies # # OPTIONS_GHC -fno - warn - orphans # module ACME.PreCure.Textbook.DokiDoki ( module ACME.PreCure.Textbook.DokiDoki.Types ) where import ACME.PreCure.Types import ACME.PreCure.Tex...
7643ead3a27f9554fdddb100d7729eff875136fec56c9348e743b9516f987264
alexandergunnarson/quantum
impl.cljc
(ns ^{:doc "HTTP request processing with error handling, log writing, etc."} quantum.net.client.impl (:require [clojure.core :as core] #?(:cljs [goog.userAgent :as agent]) [cognitect.transit :as t] [#?(:clj ...
null
https://raw.githubusercontent.com/alexandergunnarson/quantum/0c655af439734709566110949f9f2f482e468509/src/quantum/net/client/impl.cljc
clojure
Reflected cross-scripting attack prevention (this can prevent SSL strip attacks). ======== CLJS IMPLEMENTATION ========= ; ======== CLOJURE IMPLEMENTATION ========= ; TODO Implement Resumable uploads: -uploads _______________________________________________________________________________________________________...
(ns ^{:doc "HTTP request processing with error handling, log writing, etc."} quantum.net.client.impl (:require [clojure.core :as core] #?(:cljs [goog.userAgent :as agent]) [cognitect.transit :as t] [#?(:clj ...
d0bd86549b14a23c651a749d74226b16010de583c597b0ed2afede358bad518d
informatimago/lisp
interactive.lisp
-*- coding : utf-8 -*- ;;;;************************************************************************** FILE : interactive.lisp ;;;;LANGUAGE: Common-Lisp ;;;;SYSTEM: Common-Lisp USER - INTERFACE : ;;;;DESCRIPTION ;;;; ;;;; This package defines various interactive commands. ...
null
https://raw.githubusercontent.com/informatimago/lisp/439c1e2c467f6becf47ce7aa87bc6459a49e25c5/common-lisp/interactive/interactive.lisp
lisp
************************************************************************** LANGUAGE: Common-Lisp SYSTEM: Common-Lisp DESCRIPTION This package defines various interactive commands. It also re-exports some functions from BROWSER and PACKAGE. LEGAL This program is free software: you c...
-*- coding : utf-8 -*- FILE : interactive.lisp USER - INTERFACE : < PJB > < > MODIFICATIONS 2015 - 01 - 25 < PJB > Moved print - bug - report - info to com.informatimago.tools.manifest . 2010 - 06 - 29 < PJB > Added : short option to LSPACK . 2006 - 08 - 28 < PJB > Extrac...
1cad4ded62caf83f15a26d92fa692d8fb595f6c020645372ef11080472e9c485
ad-si/TaskLite
Huzzy.hs
| Fuzzy string search in Haskell . Uses ' TextualMonoid ' to be able to run on different types of strings . Fuzzy string search in Haskell. Uses 'TextualMonoid' to be able to run on different types of strings. -} module Text.Huzzy where import Protolude as P ( Bool (True), Down (Down), Eq ((==)), Int, ...
null
https://raw.githubusercontent.com/ad-si/TaskLite/e36e1cb7998ff35185d86b7b3c988cb062622db5/huzzy/src/Text/Huzzy.hs
haskell
| Included in the return type of `match` and `filter`. Contains the original value given, the rendered string and the matching score. ^ Handle or ignore case of search text ^ Text to add before and after each match ^ Function to extract the text from the container ^ Pattern ^ Value containing the text to search i...
| Fuzzy string search in Haskell . Uses ' TextualMonoid ' to be able to run on different types of strings . Fuzzy string search in Haskell. Uses 'TextualMonoid' to be able to run on different types of strings. -} module Text.Huzzy where import Protolude as P ( Bool (True), Down (Down), Eq ((==)), Int, ...
440b08714c926f89fac041471539e3ef672406919a80fcb594b7055ba0408725
malcolmreynolds/GSLL
eigensystems.lisp
Regression test EIGENSYSTEMS for GSLL , automatically generated (in-package :gsl) (LISP-UNIT:DEFINE-TEST EIGENSYSTEMS (LISP-UNIT::ASSERT-NUMERICAL-EQUAL (LIST #(13.819660112501051d0 36.180339887498945d0 40.0d0) #2A((0.8...
null
https://raw.githubusercontent.com/malcolmreynolds/GSLL/2f722f12f1d08e1b9550a46e2a22adba8e1e52c4/tests/eigensystems.lisp
lisp
Regression test EIGENSYSTEMS for GSLL , automatically generated (in-package :gsl) (LISP-UNIT:DEFINE-TEST EIGENSYSTEMS (LISP-UNIT::ASSERT-NUMERICAL-EQUAL (LIST #(13.819660112501051d0 36.180339887498945d0 40.0d0) #2A((0.8...
c2d3e8bb9c1e4bc9e8b49ac43d556608fe7fcd3d80fc3cffb068c91b806c612f
raghavkarol/edt
edt_out.erl
%% This module monitors the group leader for the erlang node edt runs %% in and sends all output to that group leader. %% When calling edt functions from a distributed erlang node .e.g . , %% distel, we want to send all output from edt to the node where edt %% is running and not the remote node. %% %% Copyright 2...
null
https://raw.githubusercontent.com/raghavkarol/edt/c9ac86d4161deb7f23ff20b6ae713e77706e52fa/src/edt_out.erl
erlang
in and sends all output to that group leader. distel, we want to send all output from edt to the node where edt is running and not the remote node. API gen_server callbacks --------------------------------------------------------- Gen server control API -----------------------------------------------------...
This module monitors the group leader for the erlang node edt runs When calling edt functions from a distributed erlang node .e.g . , Copyright 2020 . -module(edt_out). -behaviour(gen_server). -export([ start/0, start_link/0, stop/0 ]). -export([ io_server/0, stdout/1, stdout/2, s...
d4d26d01cec95e81c440f77399b46092dd1a8454711fa265bc9cb67a2ea06bac
unicode-org/unilex
core_test.clj
(ns dict-data-builder.core-test (:require [clojure.test :refer :all] [clojure.zip :as z] [dict-data-builder.core :refer :all] [dict-data-builder.data :as data :refer [map->Verb]] [dict-data-builder.io :as io] [dict-data-builder.trie :as t] [dict-...
null
https://raw.githubusercontent.com/unicode-org/unilex/aa6847b510cb75133d281fd742f6065f86e59de7/data/stems/ta/dict-data-builder/test/dict_data_builder/core_test.clj
clojure
(ns dict-data-builder.core-test (:require [clojure.test :refer :all] [clojure.zip :as z] [dict-data-builder.core :refer :all] [dict-data-builder.data :as data :refer [map->Verb]] [dict-data-builder.io :as io] [dict-data-builder.trie :as t] [dict-...
95c09ddab7e057c2830cf0fad50c75fbf81b27bfded5fe1d85dd9b15d70db1e9
phillord/tawny-protege
project.clj
(defproject uk.org.russet/tawny-protege "1.1.0-SNAPSHOT" :description "Link between Tawny-OWL and Protege" :license {:name "LGPL" :url "-3.0.txt" :distribution :repo} :url "-protege" :scm {:url "-protege" :name "git"} :dependencies [[org.clojure/clojure "1.5.1"] ...
null
https://raw.githubusercontent.com/phillord/tawny-protege/b3e05b754b4fce8a28b154babbaa9a9ea256fbc4/project.clj
clojure
(defproject uk.org.russet/tawny-protege "1.1.0-SNAPSHOT" :description "Link between Tawny-OWL and Protege" :license {:name "LGPL" :url "-3.0.txt" :distribution :repo} :url "-protege" :scm {:url "-protege" :name "git"} :dependencies [[org.clojure/clojure "1.5.1"] ...
93f3ab76cf38fa5a24c6b5ea78f58901d3cd249e960b64597e72d770a6bb85de
racket/games
info.rkt
#lang info (define name "GCalc") (define game "gcalc.rkt")
null
https://raw.githubusercontent.com/racket/games/e57376f067be51257ed12cdf3e4509a00ffd533d/gcalc/info.rkt
racket
#lang info (define name "GCalc") (define game "gcalc.rkt")
aa234e88aa9ba40ecb0f71f4cd57f4ea3a9b2f87c3f588074aaa5e3965b92fd9
thheller/shadow-cljs
bar.cljs
(ns test.bar) (js/console.log "bar") (defn bar [x] (js/console.log "bar" x))
null
https://raw.githubusercontent.com/thheller/shadow-cljs/ba0a02aec050c6bc8db1932916009400f99d3cce/src/repl/test/bar.cljs
clojure
(ns test.bar) (js/console.log "bar") (defn bar [x] (js/console.log "bar" x))
6b9989d8ee16dc0eeb3e23d29641fba23477aca2077b49c266edbbe3b9af1395
jasonstolaruk/CurryMUD
Sorry.hs
# LANGUAGE LambdaCase , MultiWayIf , OverloadedStrings , RecordWildCards , ViewPatterns # module Mud.Cmds.Msgs.Sorry ( sorryActing , sorryAdminChanSelf , sorryAdminChanTargetName , sorryAdminName , sorryAdminPas...
null
https://raw.githubusercontent.com/jasonstolaruk/CurryMUD/f9775fb3ede08610f33f27bb1fb5fc0565e98266/lib/Mud/Cmds/Msgs/Sorry.hs
haskell
================================================== --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ...
# LANGUAGE LambdaCase , MultiWayIf , OverloadedStrings , RecordWildCards , ViewPatterns # module Mud.Cmds.Msgs.Sorry ( sorryActing , sorryAdminChanSelf , sorryAdminChanTargetName , sorryAdminName , sorryAdminPas...
90eb3a5493d3d27d2142e2bcf204d0fdeefb03881f3bed4cb08741845f2feb9e
fredlund/McErlang
simple_ltl2buchi.erl
Copyright ( c ) 2009 , %% All rights reserved. %% %% Redistribution and use in source and binary forms, with or without %% modification, are permitted provided that the following conditions are met: %% %% Redistributions of source code must retain the above copyright %% notice, this list of conditions and...
null
https://raw.githubusercontent.com/fredlund/McErlang/25b38a38a729fdb3c3d2afb9be016bbb14237792/Ltl2Buchi/test/ref_impl/simple_ltl2buchi.erl
erlang
All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: %% Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. %% Redi...
Copyright ( c ) 2009 , IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE BE LIABLE FOR ANY DIRECT , INDIRECT , INCIDENTAL , SPECIAL , EXEMPLARY , OR Author : < > Created : 18 Mar 2009 by < > -module(simple_ltl2buchi). -compile(export_all). translate(Phi) -> B0 = simple_to...
e7761dd4af1ad6ca7267203aa81790bc38167c7b2d22d417e9f2855717ec09c2
NorfairKing/bevel
DB.hs
# LANGUAGE DataKinds # # LANGUAGE DeriveGeneric # # LANGUAGE DerivingStrategies # # LANGUAGE FlexibleInstances # {-# LANGUAGE GADTs #-} # LANGUAGE GeneralizedNewtypeDeriving # # LANGUAGE MultiParamTypeClasses # # LANGUAGE QuasiQuotes # # LANGUAGE RecordWildCards # # LANGUAGE StandaloneDeriving # # LANGUAGE TemplateHask...
null
https://raw.githubusercontent.com/NorfairKing/bevel/56217b7520dc0dc1f98e4c1dc8873a7f5ff61fe0/bevel-api-server-data/src/Bevel/API/Server/Data/DB.hs
haskell
# LANGUAGE GADTs #
# LANGUAGE DataKinds # # LANGUAGE DeriveGeneric # # LANGUAGE DerivingStrategies # # LANGUAGE FlexibleInstances # # LANGUAGE GeneralizedNewtypeDeriving # # LANGUAGE MultiParamTypeClasses # # LANGUAGE QuasiQuotes # # LANGUAGE RecordWildCards # # LANGUAGE StandaloneDeriving # # LANGUAGE TemplateHaskell # # LANGUAGE TypeFa...
7c076330c787f3c558272231b84ce3e36b336676be13eea5399b83dda32d1113
clojure-interop/google-cloud-clients
GrpcVideoIntelligenceServiceCallableFactory.clj
(ns com.google.cloud.videointelligence.v1beta2.stub.GrpcVideoIntelligenceServiceCallableFactory "gRPC callable factory implementation for Google Cloud Video Intelligence API. This class is for advanced usage." (:refer-clojure :only [require comment defn ->]) (:import [com.google.cloud.videointelligence.v1beta2...
null
https://raw.githubusercontent.com/clojure-interop/google-cloud-clients/80852d0496057c22f9cdc86d6f9ffc0fa3cd7904/com.google.cloud.videointelligence/src/com/google/cloud/videointelligence/v1beta2/stub/GrpcVideoIntelligenceServiceCallableFactory.clj
clojure
(ns com.google.cloud.videointelligence.v1beta2.stub.GrpcVideoIntelligenceServiceCallableFactory "gRPC callable factory implementation for Google Cloud Video Intelligence API. This class is for advanced usage." (:refer-clojure :only [require comment defn ->]) (:import [com.google.cloud.videointelligence.v1beta2...
a385379f32f4e19a6206d0daecf842cb10e2b4b2b0086c83f0065c47f81ca35b
dolotech/erlang_server
mod_attain.erl
%%---------------------------------------------------- 排行榜服务 %% $ Id$ %% %% @author Rolong<> %%---------------------------------------------------- -module(mod_attain). -export([ attain_state/3 ,attain_state2/3 ,attain_init/1 ,attain_today/0 ,attain_stores/1 ,combat_attain/2 ...
null
https://raw.githubusercontent.com/dolotech/erlang_server/44ea3693317f60e18b19c9ddfa179307cbd646d7/src/mod/mod_attain.erl
erlang
---------------------------------------------------- @author Rolong<> ---------------------------------------------------- --- 私有函数 --- 成就是否达到条件,更新完成状态, 英雄级别成就(统帅..) 日常成就数据隔天重置 日常成就抽取 zip / unzip 解包binary 打包成binary 战斗成就推送 英雄成就推送 ',%% . :
排行榜服务 $ Id$ -module(mod_attain). -export([ attain_state/3 ,attain_state2/3 ,attain_init/1 ,attain_today/0 ,attain_stores/1 ,combat_attain/2 ,hero_attain/3 ] ). -include("common.hrl"). -include("prop.hrl"). -include("equ.hrl"). -include("hero.hrl"). -ifdef(TEST). ...
36d692829ac9a769cf221295ecf87a8cdb057df41891c7ec9eb6425909d12a77
well-typed-lightbulbs/ocaml-esp32
toploop.ml
(**************************************************************************) (* *) (* OCaml *) (* *) ...
null
https://raw.githubusercontent.com/well-typed-lightbulbs/ocaml-esp32/c24fcbfbee0e3aa6bb71c9b467c60c6bac326cc7/toplevel/toploop.ml
ocaml
************************************************************************ OCaml ...
, projet Cristal , INRIA Rocquencourt Copyright 1996 Institut National de Recherche en Informatique et the GNU Lesser General Public License version 2.1 , with the open Format open Misc open Parsetree open Types open Typedtree open Outcometree open Ast_helper module S...
583524534af2f8c04ba8802d7ddf25b58cfaa48410d3e5df76075add4d849490
galdre/morphe
functional_test.cljc
Copyright 2019 (ns morphe.functional-test (:require [morphe.functional :as f :include-macros true] [morphe.test-helper-one :as one] [morphe.test-helper-three :as three] #?(:clj [clojure.test :as t] :cljs [cljs.test :as t :include-macros true]))) ;;;;;;;;;;;; ;; ...
null
https://raw.githubusercontent.com/galdre/morphe/7f4272b49d5c90ed5a17effe5bf78d7aba84396d/test/morphe/functional_test.cljc
clojure
ADVICE ;; ; BASIC TESTS ;; ORDERING OF COMPOSITION ;; CROSS NAMESPACE RESOLUTION ;;
Copyright 2019 (ns morphe.functional-test (:require [morphe.functional :as f :include-macros true] [morphe.test-helper-one :as one] [morphe.test-helper-three :as three] #?(:clj [clojure.test :as t] :cljs [cljs.test :as t :include-macros true]))) (defn spied [...
e352285f497e0be9402d812b55ae8da87e56aa85226ab1c6368bef23ebc1ae93
Tko1/Lispboy
util.clj
(ns lispboy.util (:require [clojure.spec.alpha :as s])) (defn bitmask [n m] (let [ [-n,-m] (if (< m n) [m n] [n m]) --n (if (< (- -n 1) 0) 0 (- -n 1)) len (- m --n) nonshifted (- (bi...
null
https://raw.githubusercontent.com/Tko1/Lispboy/d93723895d94d4f7abf45aac6354a657f91a1266/src/lispboy/util.clj
clojure
Creates a predicate to check if a value is a wordn, where n
(ns lispboy.util (:require [clojure.spec.alpha :as s])) (defn bitmask [n m] (let [ [-n,-m] (if (< m n) [m n] [n m]) --n (if (< (- -n 1) 0) 0 (- -n 1)) len (- m --n) nonshifted (- (bi...
652b67dd0f6a38a8384ce2c47a261aeb9852e0f3fa4f4969ac2ba8591e27ee7c
mitchellwrosen/planet-mitchell
Ratio.hs
module Num.Ratio ( Ratio , Rational , (%) , numerator , denominator , approxRational , fromRat ) where import Data.Ratio import GHC.Float (fromRat)
null
https://raw.githubusercontent.com/mitchellwrosen/planet-mitchell/18dd83204e70fffcd23fe12dd3a80f70b7fa409b/planet-mitchell/src/Num/Ratio.hs
haskell
module Num.Ratio ( Ratio , Rational , (%) , numerator , denominator , approxRational , fromRat ) where import Data.Ratio import GHC.Float (fromRat)
2b262e08a8fce4f0974822989163122d0c39aaf92a6ce58a05a23baf63293801
DKurilo/hackerrank
solution.hs
# LANGUAGE FlexibleInstances , UndecidableInstances # # LANGUAGE DuplicateRecordFields , UnicodeSyntax # module Main where import Prelude.Unicode import System.IO import Data.Maybe import Data.List.Split import Control.Monad import System.IO import Debug.Trace class Queue a where put ∷ a b → b → a b pop ∷ a...
null
https://raw.githubusercontent.com/DKurilo/hackerrank/37063170567b397b25a2b7123bc9c1299d34814a/ctci-queue-using-two-stacks/solution.hs
haskell
# LANGUAGE FlexibleInstances , UndecidableInstances # # LANGUAGE DuplicateRecordFields , UnicodeSyntax # module Main where import Prelude.Unicode import System.IO import Data.Maybe import Data.List.Split import Control.Monad import System.IO import Debug.Trace class Queue a where put ∷ a b → b → a b pop ∷ a...
3b6dc5b469043581f7262dcbe48ab9d068974aef7c0d6704873ab60e0e09c34c
dimitri/ql-to-deb
ql-to-deb.lisp
;;; Update our debian packages with the latest known Quicklisp releases . ;;; (in-package #:ql-to-deb) (defmethod same-version-p ((deb debian-package) (ql ql-release)) "Return a generalized boolean that is non-nil when both the debian package and the ql release have the same current version number." (when (deb...
null
https://raw.githubusercontent.com/dimitri/ql-to-deb/f89e91804ebbb1912001c1b1d45c157cf162608f/src/ql-to-deb.lisp
lisp
need to know that to name the orig tarball properly. now unpack said archive at the place where we debuild it rename the archive and add the debian directory in its directory add a debian changelog entry, unless when repackaging from now debuild the package complete the log file and re-signal copy the new chan...
Update our debian packages with the latest known Quicklisp releases . (in-package #:ql-to-deb) (defmethod same-version-p ((deb debian-package) (ql ql-release)) "Return a generalized boolean that is non-nil when both the debian package and the ql release have the same current version number." (when (deb-version...
7cb1d494e4f08b1ba6f89192542d3435b038185bde08fb73f4b89a38a7a307db
darioteixeira/ocaml-bitcoin
info.ml
(********************************************************************************) Info.ml Copyright ( c ) 2016 < > Copyright (c) 2016 Dario Teixeira <> *) (********************************************************************************) Minimal example illustrating how to setup a connection with...
null
https://raw.githubusercontent.com/darioteixeira/ocaml-bitcoin/bf781ece0da4aea696ad494a79161bf8b625afaf/examples/01-info/info.ml
ocaml
****************************************************************************** ****************************************************************************** ****************************************************************************** ****************************************************************************** ****...
Info.ml Copyright ( c ) 2016 < > Copyright (c) 2016 Dario Teixeira <> *) Minimal example illustrating how to setup a connection with Bitcoin 's Testnet ( the test network whose coins have by convention no monetary value ) and request some information about the network . Note that OCa...
4de96ec1ace64352c0c788982054e01f7c6ae3fd9c51d0bc5b9585f2bae3d902
tfausak/exercism-solutions
Anagram.hs
module Anagram (anagramsFor) where import Data.Char (toLower) import Data.List (sort) anagramsFor :: String -> [String] -> [String] anagramsFor word = filter (isAnagram word) isAnagram :: String -> String -> Bool isAnagram a b = sort (normalize a) == sort (normalize b) normalize :: String -> String normalize = map ...
null
https://raw.githubusercontent.com/tfausak/exercism-solutions/5e6f93979cc61ef5e3b48a09ca316dfd7fcd319c/haskell/anagram/Anagram.hs
haskell
module Anagram (anagramsFor) where import Data.Char (toLower) import Data.List (sort) anagramsFor :: String -> [String] -> [String] anagramsFor word = filter (isAnagram word) isAnagram :: String -> String -> Bool isAnagram a b = sort (normalize a) == sort (normalize b) normalize :: String -> String normalize = map ...
92310d21503362713f0ebe4fa47da9836d9aa9a1c47bc223be3fb6c7685e5e2d
heraldry/heraldicon
ribbon.cljs
(ns heraldicon.frontend.component.ribbon (:require [heraldicon.context :as c] [heraldicon.frontend.element.core :as element] [heraldicon.frontend.element.submenu :as submenu] [heraldicon.frontend.element.text-field :as text-field] [heraldicon.frontend.language :refer [tr]] [heraldicon.frontend.toolt...
null
https://raw.githubusercontent.com/heraldry/heraldicon/1ffb09a751fd724080165607d0c274d2ebf6be2f/src/heraldicon/frontend/component/ribbon.cljs
clojure
(ns heraldicon.frontend.component.ribbon (:require [heraldicon.context :as c] [heraldicon.frontend.element.core :as element] [heraldicon.frontend.element.submenu :as submenu] [heraldicon.frontend.element.text-field :as text-field] [heraldicon.frontend.language :refer [tr]] [heraldicon.frontend.toolt...
4ae698f037405792cc18448739626f55e916739f33ea8ff988b43835d5b9f4bf
voxoz/mqs
mqs.erl
-module(mqs). -author('Max Davidenko'). -behaviour(application). -export([start/0, start/2, stop/0, stop/1]). -compile(export_all). -define(SERVER, mqs_manager). start() -> start(normal, []). start(_StartType, _StartArgs) -> mqs_sup:start_link(). stop() -> stop([]). stop(_State) -> IsManagerRunning = whereis(mqs_...
null
https://raw.githubusercontent.com/voxoz/mqs/9df149765bb61c789b6c6c7d25b693df3e35a85a/src/mqs.erl
erlang
-module(mqs). -author('Max Davidenko'). -behaviour(application). -export([start/0, start/2, stop/0, stop/1]). -compile(export_all). -define(SERVER, mqs_manager). start() -> start(normal, []). start(_StartType, _StartArgs) -> mqs_sup:start_link(). stop() -> stop([]). stop(_State) -> IsManagerRunning = whereis(mqs_...
03c96580a110a268204c88db3337de169f83e5a28798f29e64328da5de6991e4
simmone/racket-simple-qr
final.rkt
#lang racket (require "../../../../share/draw/draw.rkt") (require "../../../../share/func.rkt") (provide (contract-out [write-report-final (-> hash? natural? path-string? void?)] )) (define (write-report-final points_map modules express_path) (let* ([scrbl_dir (build-path express_path "final")]...
null
https://raw.githubusercontent.com/simmone/racket-simple-qr/904f1491bc521badeafeabd0d7d7e97e3d0ee958/simple-qr/write/lib/express/final/final.rkt
racket
#lang racket (require "../../../../share/draw/draw.rkt") (require "../../../../share/func.rkt") (provide (contract-out [write-report-final (-> hash? natural? path-string? void?)] )) (define (write-report-final points_map modules express_path) (let* ([scrbl_dir (build-path express_path "final")]...
619695808857a7cf7c84faa6ace7b365c13038c54961022d270f42f7c24b5f39
ocaml/ocaml-lsp
uri_tests.ml
open Lsp let run_with_modes f = print_endline "Unix:"; Lsp.Uri.Private.win32 := false; f (); print_endline "Windows:"; Lsp.Uri.Private.win32 := true; f () let test_uri_parsing = let test s = let uri = Uri.t_of_yojson (`String s) in Printf.printf "%s -> %s\n" s (Uri.to_path uri) in fun uris -...
null
https://raw.githubusercontent.com/ocaml/ocaml-lsp/3ea0bb30ba32bbf0b79934d06266b16f873169c1/lsp/test/uri_tests.ml
ocaml
open Lsp let run_with_modes f = print_endline "Unix:"; Lsp.Uri.Private.win32 := false; f (); print_endline "Windows:"; Lsp.Uri.Private.win32 := true; f () let test_uri_parsing = let test s = let uri = Uri.t_of_yojson (`String s) in Printf.printf "%s -> %s\n" s (Uri.to_path uri) in fun uris -...
f7f78a0d92c9402b2c576606a21af66c1ff85d962f3b438fa65a824675b6518d
reborg/clojure-essential-reference
1.clj
< 1 > " This is 1 sentence "
null
https://raw.githubusercontent.com/reborg/clojure-essential-reference/c37fa19d45dd52b2995a191e3e96f0ebdc3f6d69/StringsandRegularExpressions/str/1.clj
clojure
< 1 > " This is 1 sentence "
120977da88b1660908b609fb26e5575113da210882e648408af3d82cb1062551
bananaoomarang/ring-debug-logging
project.clj
(defproject bananaoomarang/ring-debug-logging "1.1.0" :description "Quick and dirty request/response debugging middleware for Ring" :url "-debug-logging" :license {:name "MIT License" :url "" :year 2017 :key "mit"} :dependencies [[org.clojure/clojure "1.8.0"] ...
null
https://raw.githubusercontent.com/bananaoomarang/ring-debug-logging/2ee2a002de82657164176258dfb70a06878c424e/project.clj
clojure
(defproject bananaoomarang/ring-debug-logging "1.1.0" :description "Quick and dirty request/response debugging middleware for Ring" :url "-debug-logging" :license {:name "MIT License" :url "" :year 2017 :key "mit"} :dependencies [[org.clojure/clojure "1.8.0"] ...
d83348ca88af8d84cde9e24b1839eccd246a1d3a43a8d91f172093a4b36d579d
TrustInSoft/tis-kernel
property_status.ml
(**************************************************************************) (* *) This file is part of . (* *) is a fork of Frama - C. Al...
null
https://raw.githubusercontent.com/TrustInSoft/tis-kernel/748d28baba90c03c0f5f4654d2e7bb47dfbe4e7d/src/kernel_services/ast_data/property_status.ml
ocaml
************************************************************************ ...
This file is part of . is a fork of Frama - C. All the differences are : Copyright ( C ) 2016 - 2017 is released under GPLv2 This file is part of Frama - C. Copyright ( C ) 2007 - 2015 ...
079224fdd7e0764fb8aa6c6fdbb5bc701fd5ae91c1c8dfaa840d965de3e43146
g000001/MacLISP-compat
DOW.lisp
;;; THE FOLLOWING FUNCTION, WHEN GIVEN THE DATE AS THREE NUMBERS, WILL PRODUCE THE 0 - ORIGIN NUMBER OF THE DAY - OF - WEEK FOR THAT DATE . E.G. , ( DAY - NAME ( DOW 1963 . 11 . 22 . ) ) = = > FRIDAY , WHICH HAPPENED TO BE THE DAY PRESIDENT WAS ASSASINATED . (DEFUN DOW (YEAR MONTH DAY) (AND (AND (...
null
https://raw.githubusercontent.com/g000001/MacLISP-compat/a147d09b98dca4d7c089424c3cbaf832d2fd857a/DOW.lisp
lisp
THE FOLLOWING FUNCTION, WHEN GIVEN THE DATE AS THREE NUMBERS,
WILL PRODUCE THE 0 - ORIGIN NUMBER OF THE DAY - OF - WEEK FOR THAT DATE . E.G. , ( DAY - NAME ( DOW 1963 . 11 . 22 . ) ) = = > FRIDAY , WHICH HAPPENED TO BE THE DAY PRESIDENT WAS ASSASINATED . (DEFUN DOW (YEAR MONTH DAY) (AND (AND (FIXP YEAR) (FIXP MONTH) (FIXP DAY)) ((LAMBDA (A) (DECLARE (...
2f3e542330eb735c3d28e5df544a3cc10c88c7e11ebafd0e0d5acc0b80438485
orchid-hybrid/microKanren-sagittarius
utils.scm
(define (assp p l) (if (null? l) #f (if (p (caar l)) (car l) (assp p (cdr l))))) (define (filter p l) (if (null? l) '() (if (p (car l)) (cons (car l) (filter p (cdr l))) (filter p (cdr l))))) (define (any p l) (if (null? l) #f (or (p (car l)) (any p (cdr l))))) (...
null
https://raw.githubusercontent.com/orchid-hybrid/microKanren-sagittarius/9e740bbf94ed2930f88bbcf32636d3480934cfbb/miruKanren/utils.scm
scheme
(define (assp p l) (if (null? l) #f (if (p (caar l)) (car l) (assp p (cdr l))))) (define (filter p l) (if (null? l) '() (if (p (car l)) (cons (car l) (filter p (cdr l))) (filter p (cdr l))))) (define (any p l) (if (null? l) #f (or (p (car l)) (any p (cdr l))))) (...
8bba32911363a28435d2159566d8cf183a3e9d4204512fba7d6dc6600b9d8358
thiago-negri/DuDuHoX
Bresenham.hs
module DuDuHoX.Util.Bresenham (digitalLine) where {- Adaptado de: 's_Line_Algorithm -} type Point = (Int, Int) type Line = [Point] type Step = Signal -> Point -> Point type P = Int type Q = Int type EPS = Int type Signal = Bool type QuadraticWave = [Signal] type BalancedWordStrategy = (QuadraticWave, Step) balan...
null
https://raw.githubusercontent.com/thiago-negri/DuDuHoX/34942751c807ce69cd20d1a1a6fde4d6520460a4/src/DuDuHoX/Util/Bresenham.hs
haskell
Adaptado de: 's_Line_Algorithm
module DuDuHoX.Util.Bresenham (digitalLine) where type Point = (Int, Int) type Line = [Point] type Step = Signal -> Point -> Point type P = Int type Q = Int type EPS = Int type Signal = Bool type QuadraticWave = [Signal] type BalancedWordStrategy = (QuadraticWave, Step) balancedWord :: P -> Q -> EPS -> Quadratic...
243de715597a0aceb0dda59eb66400009ef6329bd42998ff320d16e39c4e8418
zadean/xqerl
math_atan2_SUITE.erl
-module('math_atan2_SUITE'). -include_lib("common_test/include/ct.hrl"). -export([ all/0, groups/0, suite/0 ]). -export([ init_per_suite/1, init_per_group/2, end_per_group/2, end_per_suite/1 ]). -export(['math-atan2-001'/1]). -export(['math-atan2-002'/1]). -export(['math-atan2-003'/1]). ...
null
https://raw.githubusercontent.com/zadean/xqerl/1a94833e996435495922346010ce918b4b0717f2/test/math/math_atan2_SUITE.erl
erlang
-module('math_atan2_SUITE'). -include_lib("common_test/include/ct.hrl"). -export([ all/0, groups/0, suite/0 ]). -export([ init_per_suite/1, init_per_group/2, end_per_group/2, end_per_suite/1 ]). -export(['math-atan2-001'/1]). -export(['math-atan2-002'/1]). -export(['math-atan2-003'/1]). ...
05561af36a31f65b8d17b82d5393c6a6f949a0bdfd598e75a2bb54aa70e6e1f2
imartayan/KerLang
kl_solver.ml
type expr = | Arg of int | Cst of int | Var of string | Arith of binop * expr * expr | App of string * expr list | Rec of expr list | If of expr * expr * expr | Hole and binop = ADD | MUL | SUB | DIV type constr = | Takes of int | Let of string * expr | Shows of expr list | Uses of expr list ...
null
https://raw.githubusercontent.com/imartayan/KerLang/d55f09cec389671c753b6b24186ed9a465623594/src/kl_solver.ml
ocaml
type expr = | Arg of int | Cst of int | Var of string | Arith of binop * expr * expr | App of string * expr list | Rec of expr list | If of expr * expr * expr | Hole and binop = ADD | MUL | SUB | DIV type constr = | Takes of int | Let of string * expr | Shows of expr list | Uses of expr list ...
35eb5eaf3442a0574454f743830a18c673790cb13b3cabba8a56b679b7cd9eb5
jumarko/clojure-experiments
spec.clj
(ns clojure-experiments.clojure-1-10.spec (:require [clojure.spec.alpha :as s])) Undefine specs via ` ( s / def : : spec nil ) ` ;;; -2060 ;;; Particularly useful wehn working on complicated specs ;;; ---------------------------------------------------------------------------- (s/def ::a int?) (s/def ::m (s/keys...
null
https://raw.githubusercontent.com/jumarko/clojure-experiments/f0f9c091959e7f54c3fb13d0585a793ebb09e4f9/src/clojure_experiments/clojure_1_10/spec.clj
clojure
-2060 Particularly useful wehn working on complicated specs ---------------------------------------------------------------------------- => false => :clojure-experiments.1.10.spec/a => true Improved error printing ---------------------------------------------------------------------------- () - failed: Insuf...
(ns clojure-experiments.clojure-1-10.spec (:require [clojure.spec.alpha :as s])) Undefine specs via ` ( s / def : : spec nil ) ` (s/def ::a int?) (s/def ::m (s/keys :req-un [::a ::b])) (s/valid? ::m {:a "ahoj" :b 10}) (s/def ::a nil) (s/valid? ::m {:a "ahoj" :b 10}) in Clojure 1.10 in Clojure 1.9 = > Nul...
dce0bce47f28ec12cb3a6a727591da88d09184f6cb2530c4c6aa0465b071ddc3
roelvandijk/numerals
TUR.hs
| [ @ISO639 - 1@ ] tr [ @ISO639 - 2@ ] tur [ @ISO639 - 3@ ] tur [ @Native name@ ] [ @English name@ ] Turkish [@ISO639-1@] tr [@ISO639-2@] tur [@ISO639-3@] tur [@Native name@] Türkçe [@English name@] Turkish -} module Text.Numeral.Languag...
null
https://raw.githubusercontent.com/roelvandijk/numerals/b1e4121e0824ac0646a3230bd311818e159ec127/src/Text/Numeral/Language/TUR.hs
haskell
* Language entry * Conversions * Structure * Bounds ------------------------------------------------------------------------------ Imports ------------------------------------------------------------------------------ ------------------------------------------------------------------------------ TUR -------------...
| [ @ISO639 - 1@ ] tr [ @ISO639 - 2@ ] tur [ @ISO639 - 3@ ] tur [ @Native name@ ] [ @English name@ ] Turkish [@ISO639-1@] tr [@ISO639-2@] tur [@ISO639-3@] tur [@Native name@] Türkçe [@English name@] Turkish -} module Text.Numeral.Languag...
0b67a729a035548e75ec39762614a71661a034574d260d5ea4cf51b4fcc0f5e1
onedata/op-worker
archive_bagit_sequential_test_SUITE.erl
%%%------------------------------------------------------------------- @author ( C ) 2021 ACK CYFRONET AGH This software is released under the MIT license cited in ' LICENSE.txt ' . %%% @end %%%------------------------------------------------------------------- %%% @doc %%% Sequential tests of archives mecha...
null
https://raw.githubusercontent.com/onedata/op-worker/f8f37373e148180d1b896b2011cae05f555c97ba/test_distributed/suites/dataset/archive_bagit_sequential_test_SUITE.erl
erlang
------------------------------------------------------------------- @end ------------------------------------------------------------------- @doc Sequential tests of archives mechanism. @end ------------------------------------------------------------------- exported for CT tests =================================...
@author ( C ) 2021 ACK CYFRONET AGH This software is released under the MIT license cited in ' LICENSE.txt ' . -module(archive_bagit_sequential_test_SUITE). -author("Jakub Kudzia"). -include("onenv_test_utils.hrl"). -include("modules/logical_file_manager/lfm.hrl"). -include("modules/dataset/archive.hrl"). ...
a5b6eb4ba08205ea840e8be9c909e984a7f8085c89feaa9f1ee677806ac07f3c
hipsleek/hipsleek
cpure_pred.ml
#include "xdebug.cppo" open VarGen open Globals open Gen.Basic open Exc.GTable module LO=Label_only.LOne open Label open Cpure let min_max_one = "__min_max_one__" (********************************************************) (*****************DERIVE********************) (******************************************...
null
https://raw.githubusercontent.com/hipsleek/hipsleek/596f7fa7f67444c8309da2ca86ba4c47d376618c/bef_indent/cpure_pred.ml
ocaml
****************************************************** ****************DERIVE******************* ****************************************************** todo: should improve here if svl1 = [] then (e, e1) (e, e1) else (e, e2) bag expressions todo: should improve here min/max report_error no_pos "cpure.ext...
#include "xdebug.cppo" open VarGen open Globals open Gen.Basic open Exc.GTable module LO=Label_only.LOne open Label open Cpure let min_max_one = "__min_max_one__" let extract_inner_e e0 root val_extns rec_args= let rec initial_helper exps v= match exps with | [] -> if v then if is_bag_typ root...
ff0dd130c8fb35b99617ddb585d6fbaa7671c36a7c693737f5bd6627d7987494
ocaml/odoc
section.mli
Blank lines are needed because of . . *) (** This is the module comment. Eventually, sections won't be allowed in it. *) (** {1 Empty section} *) (** {1 Text only} Foo bar. *) * { 1 Aside only } (** Foo bar. *) (** {1 Value only} *) val foo : unit * { 1 Empty section } { 1 within a commen...
null
https://raw.githubusercontent.com/ocaml/odoc/65074eeee3fe8478c4df5099cf83a95326484105/test/generators/cases/section.mli
ocaml
* This is the module comment. Eventually, sections won't be allowed in it. * {1 Empty section} * {1 Text only} Foo bar. * Foo bar. * {1 Value only}
Blank lines are needed because of . . *) * { 1 Aside only } val foo : unit * { 1 Empty section } { 1 within a comment } { 2 and one with a nested section } {1 within a comment} {2 and one with a nested section} *) * { 1 { e This } [ section ] { b title } { _ has } { ^markup }...
0c98dbd76505452425567a22349f4e024869a7e5ea602154e732b922496201b5
ChicagoBoss/ChicagoBoss
boss_web.erl
%%------------------------------------------------------------------- @author ChicagoBoss Team and contributors , see file in root directory %% @end This file is part of ChicagoBoss project . See file in root directory %% for license information, see LICENSE file in root directory %% @end %...
null
https://raw.githubusercontent.com/ChicagoBoss/ChicagoBoss/113bac70c2f835c1e99c757170fd38abf09f5da2/src/boss/boss_web.erl
erlang
------------------------------------------------------------------- @end for license information, see LICENSE file in root directory @end @doc -------------------------------------------------------------------
@author ChicagoBoss Team and contributors , see file in root directory This file is part of ChicagoBoss project . See file in root directory -module(boss_web). -export([reload_routes/0, reload_translation/1, reload_all_translations/0, reload_init_scripts/0, get...
47d115d4f2e04276857d51285a474559216493d2563dfd7cf29d64b40a8c9aef
Clozure/ccl
ffi-darwinx8632.lisp
;;; ;;; Copyright 2009 Clozure Associates ;;; Licensed under the Apache License , Version 2.0 ( the " License " ) ; ;;; you may not use this file except in compliance with the License. ;;; You may obtain a copy of the License at ;;; ;;; -2.0 ;;; ;;; Unless required by applicable law or agreed to in writing, softw...
null
https://raw.githubusercontent.com/Clozure/ccl/6c1a9458f7a5437b73ec227e989aa5b825f32fd3/lib/ffi-darwinx8632.lisp
lisp
Copyright 2009 Clozure Associates you may not use this file except in compliance with the License. You may obtain a copy of the License at -2.0 Unless required by applicable law or agreed to in writing, software WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for...
distributed under the License is distributed on an " AS IS " BASIS , (in-package "CCL") Some small structures are returned in EAX and EDX . Otherwise , (defun x86-darwin32::record-type-returns-structure-as-first-arg (rtype) (when (and rtype (not (typep rtype 'unsigned-byte)) (not (member rtype *fo...
8ee8d7bd9f952cfff4947042a4f7db90b8a73f04f71d787d18bc63e5e7231b91
mu-chaco/ReWire
PaddingTest.hs
data Bit = Zero | One data W8 = W8 Bit Bit Bit Bit Bit Bit Bit Bit data W4 = W4 Bit Bit Bit Bit w4_0 :: W4 w4_0 = W4 Zero Zero Zero Zero w4_1 :: W4 w4_1 = W4 Zero Zero Zero One w8_0 :: W8 w8_0 = W8 Zero Zero Zero Zero Zero Zero Zero Zero w8_1 :: W8 w8_1 = W8 Zero Zero Zero Zero Zero Zero Zero One start :: (Either ...
null
https://raw.githubusercontent.com/mu-chaco/ReWire/a8dcea6ab0989474988a758179a1d876e2c32370/doc/new_codegen/PaddingTest.hs
haskell
data Bit = Zero | One data W8 = W8 Bit Bit Bit Bit Bit Bit Bit Bit data W4 = W4 Bit Bit Bit Bit w4_0 :: W4 w4_0 = W4 Zero Zero Zero Zero w4_1 :: W4 w4_1 = W4 Zero Zero Zero One w8_0 :: W8 w8_0 = W8 Zero Zero Zero Zero Zero Zero Zero Zero w8_1 :: W8 w8_1 = W8 Zero Zero Zero Zero Zero Zero Zero One start :: (Either ...
f1d08f06f4bd96179c897780db862c5af6e5687cc0a69d54c2e81425ec531bef
cojna/iota
ModulusSpec.hs
# LANGUAGE TypeApplications # # LANGUAGE ViewPatterns # module Math.ModulusSpec (main, spec) where import qualified Data.List as L import Math.Modulus import Test.Prelude main :: IO () main = hspec spec spec :: Spec spec = do describe "powMod" $ do it "powMod 2 0 1000000007 = 1" $ do powMod @Int 2 0 100...
null
https://raw.githubusercontent.com/cojna/iota/6d2ad5b71b1b50bca9136d6ed84f80a0b7713d7c/test/Math/ModulusSpec.hs
haskell
False
# LANGUAGE TypeApplications # # LANGUAGE ViewPatterns # module Math.ModulusSpec (main, spec) where import qualified Data.List as L import Math.Modulus import Test.Prelude main :: IO () main = hspec spec spec :: Spec spec = do describe "powMod" $ do it "powMod 2 0 1000000007 = 1" $ do powMod @Int 2 0 100...
d37cdef45b0b421718c11196959643084bd71046b57c1e1185d49ae107881034
davidlazar/ocaml-semantics
list03.ml
[[()],[()],[()]]
null
https://raw.githubusercontent.com/davidlazar/ocaml-semantics/6f302c6b9cced0407d501d70ad25c2d2aefbb77d/tests/unit/list03.ml
ocaml
[[()],[()],[()]]
2ed8694d7af3cabfa70695078a077b2a34d95f26e7839936c5b72b1a7ee2551f
tty/async_search
keyword_sup.erl
%%%------------------------------------------------------------------- @author < > Copyright ( c ) 2011 %%% Permission is hereby granted, free of charge, to any person obtaining %%% a copy of this software and associated documentation files (the " Software " ) , to deal in the Software without restric...
null
https://raw.githubusercontent.com/tty/async_search/deaf29fc504c6d24acd5a11577628c54c4615558/src/keyword_sup.erl
erlang
------------------------------------------------------------------- Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the without limitation the rights to use, copy, modify, merge, publish, the following conditions: The above copyrigh...
@author < > Copyright ( c ) 2011 " Software " ) , to deal in the Software without restriction , including distribute , sublicense , and/or sell copies of the Software , and to permit persons to whom the Software is furnished to do so , subject to included in all copies or substantial portions of...
441e3732cc9c6451f72b38ef9e86a5723cb030ee9cb5be18d995f3584d1c5430
samrushing/irken-compiler
nodes.scm
;; -*- Mode: Irken -*- (require "self/transform.scm") (require "self/typing.scm") (datatype literal (:string string) (:int int) (:char char) (:bool bool) (:undef) (:symbol symbol) (:cons symbol symbol (list literal)) (:vector (list literal)) (:record int (list litfield)) (:sexp sexp) ) (datatyp...
null
https://raw.githubusercontent.com/samrushing/irken-compiler/690da48852d55497f873738df54f14e8e135d006/self/nodes.scm
scheme
-*- Mode: Irken -*- node type holds metadata related to the node, but sub-nodes are held with the record. generic-tvars type template generic-tvars type name name formals name params XXX there are several 'fake prims' like %fatbar that arguably should be their own node types. to avoid recursive types, we w...
(require "self/transform.scm") (require "self/typing.scm") (datatype literal (:string string) (:int int) (:char char) (:bool bool) (:undef) (:symbol symbol) (:cons symbol symbol (list literal)) (:vector (list literal)) (:record int (list litfield)) (:sexp sexp) ) (datatype litfield (:t symbol...
adeecb7667e821ebf717c6ab928d02bf9654b4fe7fc304bbbad33f511bba9fb6
aantron/dream
upload.ml
This file is part of Dream , released under the MIT license . See LICENSE.md for details , or visit . Copyright 2021 for details, or visit . Copyright 2021 Anton Bachin *) module Message = Dream_pure.Message (* Used for converting the stream interface of [multipart_form] into the pull in...
null
https://raw.githubusercontent.com/aantron/dream/f82a51b0d55aab2fb466fd63d8ee9872a24d6d6b/src/server/upload.ml
ocaml
Used for converting the stream interface of [multipart_form] into the pull interface of Dream. [state] permits to dissociate the initial state made by [initial_multipart_state] and one which started to consume the body stream (see the call of [Upload.upload]). TODO Dump the value of the multipart state ...
This file is part of Dream , released under the MIT license . See LICENSE.md for details , or visit . Copyright 2021 for details, or visit . Copyright 2021 Anton Bachin *) module Message = Dream_pure.Message type multipart_state = { mutable state_init : bool; mutable name : string optio...
05638507ee2f68affd6d9d8be39538b022971eb906408820ac5790f1d1afd089
carlosavieira/self-study
11.hs
data Count a = Multiple Integer a | Single a deriving (Show, Eq) add' :: Count a -> Count a add' (Single x) = (Multiple 2 x) add' (Multiple x y) = (Multiple (x+1) y) elem' :: (Eq a) => a -> Count a -> Bool elem' x (Multiple _ y) = (x==y) elem' x (Single y) = (x==y) encodeModified :: (Eq a) => [a] -> [Count a] encode...
null
https://raw.githubusercontent.com/carlosavieira/self-study/c7f998875f34a9d3623ade6deb75980affad2047/programming/Haskell/99%20problems/solutions/11.hs
haskell
data Count a = Multiple Integer a | Single a deriving (Show, Eq) add' :: Count a -> Count a add' (Single x) = (Multiple 2 x) add' (Multiple x y) = (Multiple (x+1) y) elem' :: (Eq a) => a -> Count a -> Bool elem' x (Multiple _ y) = (x==y) elem' x (Single y) = (x==y) encodeModified :: (Eq a) => [a] -> [Count a] encode...
2069a179950d7d38e10e8b46289cc91d7ef8e0932eb7b22d2141cbc09badd5e7
xvw/planet
string.mli
* Extension for [ . String ] . * for type type t = string (** Produce the md5-hash of a string. *) val md5 : string -> string (** [start_with x y] checks if [x] start with [y]. *) val start_with : string -> string -> bool (** [end_with x y] checks if [x] end with [y]. *) val end_with : string -> string -> bool (...
null
https://raw.githubusercontent.com/xvw/planet/c2a77ea66f61cc76df78b9c2ad06d114795f3053/src/bedrock/string.mli
ocaml
* Produce the md5-hash of a string. * [start_with x y] checks if [x] start with [y]. * [end_with x y] checks if [x] end with [y]. * [has_extension x ext] checks if [x] end with [.ext]. * Produce each lines of a string * Remove all spaces of a string.
* Extension for [ . String ] . * for type type t = string val md5 : string -> string val start_with : string -> string -> bool val end_with : string -> string -> bool val has_extension : string -> string -> bool val lines : string -> string list val super_trim : string -> string val tokenize : char -> string ...
44eedd5d58c0d8319d0bf79cd69ef994a639bb9347e560ab975ced3d2ba85855
WorksHub/client
views.cljs
(ns wh.components.overlay.views (:require [reagent.core :as r] [wh.components.icons :refer [icon]])) (defn popup-wrapper [_args & _body] (let [id (str "popup-" (gensym))] (r/create-class {:component-did-mount (fn [this] (js/setNoScroll id true)) :component-w...
null
https://raw.githubusercontent.com/WorksHub/client/a51729585c2b9d7692e57b3edcd5217c228cf47c/client/src/wh/components/overlay/views.cljs
clojure
(ns wh.components.overlay.views (:require [reagent.core :as r] [wh.components.icons :refer [icon]])) (defn popup-wrapper [_args & _body] (let [id (str "popup-" (gensym))] (r/create-class {:component-did-mount (fn [this] (js/setNoScroll id true)) :component-w...
5bde19ded2dd41b09d2db7cb4e50bbbd31672ac59e69bd1c5d3b1745363ea711
juspay/atlas
Common.hs
| Copyright 2022 Juspay Technologies Pvt Ltd Licensed under the Apache License , Version 2.0 ( the " License " ) ; you may not use this file except in compliance with the License . You may obtain a copy of the License at -2.0 Unless required by applicable law or agreed to in writing , software dis...
null
https://raw.githubusercontent.com/juspay/atlas/e64b227dc17887fb01c2554db21c08284d18a806/test/src/Common.hs
haskell
| Copyright 2022 Juspay Technologies Pvt Ltd Licensed under the Apache License , Version 2.0 ( the " License " ) ; you may not use this file except in compliance with the License . You may obtain a copy of the License at -2.0 Unless required by applicable law or agreed to in writing , software dis...
a3a75bb5495e5f11b1c4d964cc529bfa15929205776593a48bfd2afd8a1a0af4
haskell-mafia/tinfoil
Comparison.hs
# LANGUAGE NoImplicitPrelude # {-# LANGUAGE OverloadedStrings #-} # LANGUAGE ForeignFunctionInterface # # LANGUAGE DefaultSignatures # module Tinfoil.Comparison( ConstEq(..) , safeEq ) where import Data.Binary (Binary) import qualified Data.Binary as B import Data.ByteString (ByteString) i...
null
https://raw.githubusercontent.com/haskell-mafia/tinfoil/f46b2ea0b9984ac9a97073932b5584ce0a2e0554/src/Tinfoil/Comparison.hs
haskell
# LANGUAGE OverloadedStrings # | Constant-time equality class; '==#' compares values in 'IO' for situations where comparison timing is a side-effect. The other method 'renderConstEq' converts the value to a 'ByteString'; the timing of '==#' is independent of whether its operands share a substring prefix. In all ...
# LANGUAGE NoImplicitPrelude # # LANGUAGE ForeignFunctionInterface # # LANGUAGE DefaultSignatures # module Tinfoil.Comparison( ConstEq(..) , safeEq ) where import Data.Binary (Binary) import qualified Data.Binary as B import Data.ByteString (ByteString) import qualified Data.ByteString.Laz...
9863c4a011a569edb7c59dca41af626f2ce68d70567dca65583223df9c6e23ae
haskell-game/tiny-games-hs
Import.hs
module Import(module X) where import Data.Bool as X (bool) import Data.Char as X (isLetter) import Data.List as X (intercalate) import Data.Text as X (pack, unpack) import Data.Text.IO as X (hGetCh...
null
https://raw.githubusercontent.com/haskell-game/tiny-games-hs/be5fff73f1d6e12aa1763447016731a857bd2c92/default/lol/Import.hs
haskell
module Import(module X) where import Data.Bool as X (bool) import Data.Char as X (isLetter) import Data.List as X (intercalate) import Data.Text as X (pack, unpack) import Data.Text.IO as X (hGetCh...
4a40b3e4aac84406b2ec15cfde91785d3bddb5157fb58b384beb654300e7ea3e
reborg/clojure-essential-reference
5.clj
< 1 > IllegalArgumentException Do n't know how to create ISeq
null
https://raw.githubusercontent.com/reborg/clojure-essential-reference/c37fa19d45dd52b2995a191e3e96f0ebdc3f6d69/Sequences/OtherGenerators/lazy-seq/5.clj
clojure
< 1 > IllegalArgumentException Do n't know how to create ISeq
3ae6d5db482ebd28dc17b43a6422a54c83ee0c25c8202d7b6bc2460d94d2866f
taylorwood/advent-of-code
9.clj
(ns advent-of-code.2017.9 (:require [clojure.java.io :as io])) (def raw-input (slurp (io/resource "data_2017/9.txt"))) (defn eat-garbage [string] (loop [s string] (case (first s) nil nil \! (recur (drop 2 s)) \> (rest s) (recur (rest s))))) (defn group-score-sum "Consumes groupings ...
null
https://raw.githubusercontent.com/taylorwood/advent-of-code/c6b08f4b618875a45c8083a04ae2c669626c43bf/src/advent_of_code/2017/9.clj
clojure
(ns advent-of-code.2017.9 (:require [clojure.java.io :as io])) (def raw-input (slurp (io/resource "data_2017/9.txt"))) (defn eat-garbage [string] (loop [s string] (case (first s) nil nil \! (recur (drop 2 s)) \> (rest s) (recur (rest s))))) (defn group-score-sum "Consumes groupings ...
11bb14f5a61f5dc517eddac8c3af07040522d10fa8ff7c0929de5e2097d835ac
ocaml-multicore/ocaml-tsan
pr7618.ml
(* TEST * expect *) type _ t = I : int t;; let f (type a) (x : a t) (y : int) = match x, y with | I, (_:a) -> () ;; [%%expect{| type _ t = I : int t val f : 'a t -> int -> unit = <fun> |}] type ('a, 'b) eq = Refl : ('a, 'a) eq;; let ok (type a b) (x : (a, b) eq) = match x, [] with | Refl, [(_ : a) | (_ : b...
null
https://raw.githubusercontent.com/ocaml-multicore/ocaml-tsan/f54002470cc6ab780963cc81b11a85a820a40819/testsuite/tests/typing-gadts/pr7618.ml
ocaml
TEST * expect branches must be unified!
type _ t = I : int t;; let f (type a) (x : a t) (y : int) = match x, y with | I, (_:a) -> () ;; [%%expect{| type _ t = I : int t val f : 'a t -> int -> unit = <fun> |}] type ('a, 'b) eq = Refl : ('a, 'a) eq;; let ok (type a b) (x : (a, b) eq) = match x, [] with | Refl, [(_ : a) | (_ : b)] -> [] ;; [%%expect{|...
0e78e353000abc95de7767626c3c70a5039ba37fbb2848b8e9b1825c054286e3
racket/rhombus-prototype
statically-str.rkt
#lang racket/base (provide statically-str) (define statically-str " (based on static information)")
null
https://raw.githubusercontent.com/racket/rhombus-prototype/75fc456e6dc581b0b445f4a401f7f6a3bd09a53f/rhombus/private/statically-str.rkt
racket
#lang racket/base (provide statically-str) (define statically-str " (based on static information)")
e02074cbbf7df506feee7f8a2221ad010975807e33ddea05010746deb5345ad8
replikativ/replikativ
crdt.cljc
(ns replikativ.crdt) (defrecord CDVCS [commit-graph heads version]) (defrecord SimpleGSet [elements]) (defrecord ORMap [adds removals]) (defrecord MergingORMap [adds removals merge-code]) (defrecord LWWR [register timestamp])
null
https://raw.githubusercontent.com/replikativ/replikativ/1533a7e43e46bfb70e8c8eb34dc5708e611a478d/src/replikativ/crdt.cljc
clojure
(ns replikativ.crdt) (defrecord CDVCS [commit-graph heads version]) (defrecord SimpleGSet [elements]) (defrecord ORMap [adds removals]) (defrecord MergingORMap [adds removals merge-code]) (defrecord LWWR [register timestamp])
60d2a3af75b4bdf636e7bfc7b3bb297bdf6d698345a1dd2d09b1b9f030404727
zenspider/schemers
exercise.4.55.scm
;; #!/usr/bin/env csi -s (require rackunit) (require-library logic-eval) (import logic-eval) (initialize-data-base microshaft-data-base) Exercise 4.55 ;; Give simple queries that retrieve the following ;; information from the data base: ;; 1 . all people supervised by ; (test '((supervisor (Tweakit Lem E) ...
null
https://raw.githubusercontent.com/zenspider/schemers/2939ca553ac79013a4c3aaaec812c1bad3933b16/sicp/ch_4/exercise.4.55.scm
scheme
#!/usr/bin/env csi -s Give simple queries that retrieve the following information from the data base: 2. the names and jobs of all people in the accounting division;
(require rackunit) (require-library logic-eval) (import logic-eval) (initialize-data-base microshaft-data-base) Exercise 4.55 (test '((supervisor (Tweakit Lem E) (Bitdiddle Ben)) (supervisor (Fect Cy D) (Bitdiddle Ben)) (supervisor (Hacker Alyssa P) (Bitdiddle Ben))) (all-of '(supervisor ?x...
76641f9f84b44a6e9c7f04725820df6e8548c88747d03ed2426037eb6f0900f7
reborg/clojure-essential-reference
8.clj
(require '[clojure.test :refer [are deftest test-var]]) (deftest sqrt-test < 1 > 9 3 0 0 Double/NaN Double/NaN)) < 2 > ;; FAIL in () (form-init7968799.clj:2) expected : (= ( sqrt 9 ) 3 ) ;; actual: (not (= 3.000000001396984 3)) ;; ;; FAIL in () (form-init7968799.clj:2) ;; expected: (= (sqrt 0) 0)...
null
https://raw.githubusercontent.com/reborg/clojure-essential-reference/c37fa19d45dd52b2995a191e3e96f0ebdc3f6d69/TheToolbox/clojure.test/8.clj
clojure
FAIL in () (form-init7968799.clj:2) actual: (not (= 3.000000001396984 3)) FAIL in () (form-init7968799.clj:2) expected: (= (sqrt 0) 0) FAIL in () (form-init7968799.clj:2) expected: (= (sqrt Double/NaN) Double/NaN) actual: (not (= 1.0 NaN))
(require '[clojure.test :refer [are deftest test-var]]) (deftest sqrt-test < 1 > 9 3 0 0 Double/NaN Double/NaN)) < 2 > expected : (= ( sqrt 9 ) 3 ) actual : ( not (= 6.103515625E-5 0 ) )
5743b023370634df0df4431d939b78735471c83f1451b7e1a5f5d8417e3af3b0
lispcord/lispcord
package.lisp
(defpackage :example-bot (:use :cl :lispcord))
null
https://raw.githubusercontent.com/lispcord/lispcord/448190cc503a0d7e59bdc0ffddb2e9dba0a706af/examples/example-bot/src/package.lisp
lisp
(defpackage :example-bot (:use :cl :lispcord))
3c5629dc426ab58f04f51170235482df47c58f06fc48200b77000a794470e5ed
spawnfest/eep49ers
erl_pp.erl
%% %% %CopyrightBegin% %% Copyright Ericsson AB 1996 - 2020 . All Rights Reserved . %% Licensed under the Apache License , Version 2.0 ( the " License " ) ; %% you may not use this file except in compliance with the License. %% You may obtain a copy of the License at %% %% -2.0 %% %% Unless required by applicab...
null
https://raw.githubusercontent.com/spawnfest/eep49ers/191098e12e2d4079a35aed7faf484d7710644014/lib/stdlib/src/erl_pp.erl
erlang
%CopyrightBegin% you may not use this file except in compliance with the License. You may obtain a copy of the License at -2.0 Unless required by applicable law or agreed to in writing, software WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific lan...
Copyright Ericsson AB 1996 - 2020 . All Rights Reserved . Licensed under the Apache License , Version 2.0 ( the " License " ) ; distributed under the License is distributed on an " AS IS " BASIS , -module(erl_pp). Pretty printer for Erlang code in the same format as returned from -export([form/1,form/2, ...
f94e80c212351189d645e4692bcf697104f4099adc8018b54154ec5137aba53a
cky/guile
string-utils.scm
;;;; (texinfo string-utils) -- text filling and wrapping ;;;; Copyright ( C ) 2009 , 2013 Free Software Foundation , Inc. Copyright ( C ) 2003 ;;;; ;;;; 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 ...
null
https://raw.githubusercontent.com/cky/guile/89ce9fb31b00f1f243fe6f2450db50372cc0b86d/module/texinfo/string-utils.scm
scheme
(texinfo string-utils) -- text filling and wrapping This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public either This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of ...
Copyright ( C ) 2009 , 2013 Free Software Foundation , Inc. Copyright ( C ) 2003 version 3 of the License , or ( at your option ) any later version . You should have received a copy of the GNU Lesser General Public Foundation , Inc. , 51 Franklin Street , Fifth Floor , Boston , USA functio...
73879c222e7f63cfb7c2b8c6e51d777698419e85681575d6e182d865ac78ad5c
sulami/spielwiese
040-champernownes-constant.hs
Champernowne 's constant Problem 40 -- -- An irrational decimal fraction is created by concatenating the positive -- integers: -- 0.123456789101112131415161718192021 ... -- It can be seen that the 12th digit of the fractional part is 1 . -- -- If dn represents the nth digit of the fractional part, find the valu...
null
https://raw.githubusercontent.com/sulami/spielwiese/da354aa112d43d7ec5f258f4b5afafd7a88c8aa8/hEuler/040-champernownes-constant.hs
haskell
An irrational decimal fraction is created by concatenating the positive integers: If dn represents the nth digit of the fractional part, find the value of the following expression. # OPTIONS_GHC -O2 #
Champernowne 's constant Problem 40 0.123456789101112131415161718192021 ... It can be seen that the 12th digit of the fractional part is 1 . d1 × d10 × d100 × d1000 × d10000 × d100000 × d1000000 frac :: String frac = concat . foldr (\e r -> show e : r) [] $ take 1000000 [1..] digits :: Integral a => a -> [...
e44ad8399abaa9bcd1b2a47ea0883c136dd9edb8059db432ea25ece456a4c5b1
cj1128/sicp-review
3.24.scm
Exercise 3.24 ;; Design a table constructor make-table that takes as an argument a same-key? procedure that will be used to test equality of keys (define (make-table same-key?) (define (assoc key records) (cond ((null? records) #f) ((same-key? key (caar records)) (car records)) (else (assoc k...
null
https://raw.githubusercontent.com/cj1128/sicp-review/efaa2f863b7f03c51641c22d701bac97e398a050/chapter-3/3.3/3.24.scm
scheme
Design a table constructor make-table that takes as an argument a same-key? procedure that will be used to test equality of keys
Exercise 3.24 (define (make-table same-key?) (define (assoc key records) (cond ((null? records) #f) ((same-key? key (caar records)) (car records)) (else (assoc key (cdr records))))) (let ((local-table (list '*table))) (define (lookup key-1 key-2) (let ((subtable (assoc key-1 (cdr ...
7b36a75b399d34329d7236935a8b160325491b92740ecd742c9f73e0de628bf5
paddymul/css-lite
css-lite.lisp
(in-package "CSS-LITE") ;;; main interface (defvar *css-stream* nil) (defvar *indent-css* nil "Indicates if the properties of a selector should be indented or not. There are three possible values: * nil - The default value, and indicates that no indentation should be applied * the symbol 'tab - Indicates that...
null
https://raw.githubusercontent.com/paddymul/css-lite/6ee4e6212ed56943d665df163d2a834b122e6273/css-lite.lisp
lisp
main interface The parenscript implementation of this function is in the paren-css-lite.lisp file This should probably be implemented using read-time conditionals, but I can't seem to get them to work correctly. So for now let's been loaded into the image. - rolando2424 implementation this calls the function I...
(in-package "CSS-LITE") (defvar *css-stream* nil) (defvar *indent-css* nil "Indicates if the properties of a selector should be indented or not. There are three possible values: * nil - The default value, and indicates that no indentation should be applied * the symbol 'tab - Indicates that the properties sho...
f5a85ebc2133b445b008c6b98bbdecbc9dc6049666f6667459131263d6839d8f
avsm/melange
dig.ml
* Copyright ( c ) 2005 < > * Copyright ( c ) 2005 < > * * 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...
null
https://raw.githubusercontent.com/avsm/melange/e92240e6dc8a440cafa91488a1fc367e2ba57de1/apps/mldig/dig.ml
ocaml
setup itimer to timeout
* Copyright ( c ) 2005 < > * Copyright ( c ) 2005 < > * * 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...
39f84fcb24c87fdbe6823be7cb3ea39b0d4683194176a5be04b495a077a4b65a
shriram/cs019
provider.rkt
#lang planet cs019/cs019 (provide (all-defined-out)) (define-struct g (a b)) (define ht (hash)) (define ht2 (hash-set ht "x" 10)) (define-struct: h ([p : Number$] [q : String$])) (define: only-positive-add1 : ((Sig: positive?) -> Number$) add1)
null
https://raw.githubusercontent.com/shriram/cs019/3036e85450ae69dc5eb8efd2a0d878a0e03dcdde/tests/provider.rkt
racket
#lang planet cs019/cs019 (provide (all-defined-out)) (define-struct g (a b)) (define ht (hash)) (define ht2 (hash-set ht "x" 10)) (define-struct: h ([p : Number$] [q : String$])) (define: only-positive-add1 : ((Sig: positive?) -> Number$) add1)
611dade42aa00c5e5817b3bbbe448ce2970f8dc936b236f1a89345c5607fe17f
scheme-live/live
output.scm
#("asd ")
null
https://raw.githubusercontent.com/scheme-live/live/4c7c9d80f2fcf80692614e10935fa66be69e3708/live/json/data/y-string-simple-ascii/output.scm
scheme
#("asd ")
0e582d1dbf1527c7854fcddddd8840e1252ea417d204898e3f2c2b0ece0c1672
benoitc/upnp
upnp_net.erl
@author < > @doc Implements UPnP networking steps , namely , step 1 discovery , step 2 description , step 3 control and step 4 eventing . %% %% Note that there's no discovery operation exported by this %% module, because discovery is initiated automatically when %% starting. %% %% @todo May...
null
https://raw.githubusercontent.com/benoitc/upnp/75a526d8386f6cff4c2100f45cdb7664b775991e/src/upnp_net.erl
erlang
Note that there's no discovery operation exported by this module, because discovery is initiated automatically when starting. @todo May be able to substitute all upnp_entity:method(Entity) @end API gen_server callbacks =================================================================== API ====...
@author < > @doc Implements UPnP networking steps , namely , step 1 discovery , step 2 description , step 3 control and step 4 eventing . call with Entity : method . spots that pattern in mochiweb -module(upnp_net). -behaviour(gen_server). -ifdef(TEST). -include_lib("proper/include/proper.hrl"). ...
cb3e1326449a0c9479c019ea33bc5faee0dcff02aa8bfe966d85a8b89ebe58e4
coccinelle/coccinelle
visitor_ast0_types.mli
type ('a, 'n) inout = 'a -> 'n * 'a type 'n all_functions = { meta_mcode : (Ast_cocci.meta_name Ast0_cocci.mcode, 'n) inout; ident : (Ast0_cocci.ident, 'n) inout; expression : (Ast0_cocci.expression, 'n) inout; assignOp : (Ast0_cocci.assignOp, 'n) inout; binaryOp : (Ast0_cocci.binaryOp, 'n) inout; typeC : (...
null
https://raw.githubusercontent.com/coccinelle/coccinelle/57cbff0c5768e22bb2d8c20e8dae74294515c6b3/parsing_cocci/visitor_ast0_types.mli
ocaml
type ('a, 'n) inout = 'a -> 'n * 'a type 'n all_functions = { meta_mcode : (Ast_cocci.meta_name Ast0_cocci.mcode, 'n) inout; ident : (Ast0_cocci.ident, 'n) inout; expression : (Ast0_cocci.expression, 'n) inout; assignOp : (Ast0_cocci.assignOp, 'n) inout; binaryOp : (Ast0_cocci.binaryOp, 'n) inout; typeC : (...
446044f98b118e9f29431d7122594d9ab0752320b804dd4db3f0b72720d677a0
flavioc/cl-hurd
dirent.lisp
(in-package :hurd-translator) (defun make-node-dirent (name node) "Creates a new dirent object based on a standard node." (make-dirent name (stat-get (stat node) 'st-ino) (stat-get (stat node) 'st-type)))
null
https://raw.githubusercontent.com/flavioc/cl-hurd/982232f47d1a0ff4df5fde2edad03b9df871470a/translator/dirent.lisp
lisp
(in-package :hurd-translator) (defun make-node-dirent (name node) "Creates a new dirent object based on a standard node." (make-dirent name (stat-get (stat node) 'st-ino) (stat-get (stat node) 'st-type)))
9df1382159a58738a02a16b2290be1c5bcc64390c74b02f746685be1c4c3ef75
input-output-hk/marlowe-cardano
Main.hs
# LANGUAGE DataKinds # # LANGUAGE NumericUnderscores # {-# LANGUAGE OverloadedStrings #-} # LANGUAGE RecordWildCards # module Main ( main ) where import Control.Concurrent.STM.TChan (TChan) import Data.Text (Text) import Language.Marlowe.Runtime.App.Parser (getConfigParser) import Language.Marlowe.Runtime.App...
null
https://raw.githubusercontent.com/input-output-hk/marlowe-cardano/3c65414ea55ac58d12ea974fa40c4f0deb4cc0a6/marlowe-apps/finder/Main.hs
haskell
# LANGUAGE OverloadedStrings # <*> O.versionOption
# LANGUAGE DataKinds # # LANGUAGE NumericUnderscores # # LANGUAGE RecordWildCards # module Main ( main ) where import Control.Concurrent.STM.TChan (TChan) import Data.Text (Text) import Language.Marlowe.Runtime.App.Parser (getConfigParser) import Language.Marlowe.Runtime.App.Stream (ContractStream(..)) import...
5d6482e1d6fc95a26861fd9a6522df05ef8db524b420bb2b96103449f93740c9
ndmitchell/neil
Stage1.hs
# LANGUAGE TupleSections # module Paper.Haskell2.Stage1(stage1) where import Data.Char import Data.List.Extra import Paper.Util.String import Paper.Util.Error import Paper.Haskell2.Type import Paper.Haskell2.Haskell defs = [("\\hsdef{\\begin{comment}","\\end{comment}}") ,("\\begin{hsdef}","\\end{hsdef}") ...
null
https://raw.githubusercontent.com/ndmitchell/neil/b06624fe697c23375222856d538cb974e96da048/src/Paper/Haskell2/Stage1.hs
haskell
@ foo = bar @ = def implicitly insert foo before each = a piece of context a type expression
# LANGUAGE TupleSections # module Paper.Haskell2.Stage1(stage1) where import Data.Char import Data.List.Extra import Paper.Util.String import Paper.Util.Error import Paper.Haskell2.Type import Paper.Haskell2.Haskell defs = [("\\hsdef{\\begin{comment}","\\end{comment}}") ,("\\begin{hsdef}","\\end{hsdef}") ...
d2794d38271e7b61ecf53326b40f7a4b40261ba363c5170de8f1b47a575a50f7
alanz/ghc-exactprint
SH_Overlap6_B.hs
# OPTIONS_GHC -fwarn - unsafe # module SH_Overlap6_B ( C(..) ) where class C a where f :: a -> String
null
https://raw.githubusercontent.com/alanz/ghc-exactprint/b6b75027811fa4c336b34122a7a7b1a8df462563/tests/examples/ghc80/SH_Overlap6_B.hs
haskell
# OPTIONS_GHC -fwarn - unsafe # module SH_Overlap6_B ( C(..) ) where class C a where f :: a -> String
d8ba56489e063d8f6af0f64fe3c67ad8b3538da47a0a86d6bfd6dbc80adb5822
robert-stuttaford/bridge
spec.cljc
(ns bridge.data.datomic.spec #?@ (:clj [(:require [clojure.spec.alpha :as s] [datomic.client.impl.shared.protocols :as datomic.client.protocols]) (:import datomic.Database)] :cljs [(:require [clojure.spec.alpha :as s])])) #?(:clj (s/def :bridge.datomic/db (s/or :peer #(instanc...
null
https://raw.githubusercontent.com/robert-stuttaford/bridge/867d81354457c600cc5c25917de267a8e267c853/src/bridge/data/datomic/spec.cljc
clojure
(ns bridge.data.datomic.spec #?@ (:clj [(:require [clojure.spec.alpha :as s] [datomic.client.impl.shared.protocols :as datomic.client.protocols]) (:import datomic.Database)] :cljs [(:require [clojure.spec.alpha :as s])])) #?(:clj (s/def :bridge.datomic/db (s/or :peer #(instanc...
e5336539c85cdd580973b773c3e91ae954572fd05cefbf45f572868b39d59eb1
ds-wizard/engine-backend
DocumentTemplateJM.hs
module Registry.Api.Resource.DocumentTemplate.DocumentTemplateJM where import Data.Aeson import Registry.Api.Resource.DocumentTemplate.DocumentTemplateFormatJM () import Shared.Api.Resource.DocumentTemplate.DocumentTemplateDTO import Shared.Util.Aeson instance ToJSON DocumentTemplateFileDTO where toJSON = genericT...
null
https://raw.githubusercontent.com/ds-wizard/engine-backend/d392b751192a646064305d3534c57becaa229f28/engine-registry/src/Registry/Api/Resource/DocumentTemplate/DocumentTemplateJM.hs
haskell
module Registry.Api.Resource.DocumentTemplate.DocumentTemplateJM where import Data.Aeson import Registry.Api.Resource.DocumentTemplate.DocumentTemplateFormatJM () import Shared.Api.Resource.DocumentTemplate.DocumentTemplateDTO import Shared.Util.Aeson instance ToJSON DocumentTemplateFileDTO where toJSON = genericT...
a6a1c5ac1eb499291ec16bbf4f81e5e27172862128cbb7117c5da31b5a65f96c
metabase/metabase
explicit_joins_test.clj
(ns metabase.query-processor-test.explicit-joins-test (:require [clojure.set :as set] [clojure.string :as str] [clojure.test :refer :all] [metabase.driver :as driver] [metabase.driver.sql.query-processor :as sql.qp] [metabase.driver.sql.query-processor-test-util :as sql.qp-test-util] [metabase.mo...
null
https://raw.githubusercontent.com/metabase/metabase/f827b28e5cd3a6eff8bce08780d48bb9b825a654/test/metabase/query_processor_test/explicit_joins_test.clj
clojure
the rest of the rows will be the same mongodb doesn't support foreign keys required by this test Also: if you join against an *explicit* source query, do all columns for both queries come back? (Only applies if you include `:source-metadata`) checkins.id checkins.date checkins.user_id checkins.venue_id users....
(ns metabase.query-processor-test.explicit-joins-test (:require [clojure.set :as set] [clojure.string :as str] [clojure.test :refer :all] [metabase.driver :as driver] [metabase.driver.sql.query-processor :as sql.qp] [metabase.driver.sql.query-processor-test-util :as sql.qp-test-util] [metabase.mo...
70598168401a941158e1b6b234a3d4f5eacc2020a6373a74846ae359dc8aa871
cbaggers/nineveh
cellular.lisp
(in-package :nineveh.noise) ;;---------------------------------------------------------------------- (defun-g cellular-weight-samples ((samples :vec4)) (setf samples (- (* samples 2.0) (v4! 1.0))) (- (* samples (* samples samples)) (sign samples))) ;;--------------------------------------------------------------...
null
https://raw.githubusercontent.com/cbaggers/nineveh/0a10a84669cd9d1c584f54b9eab062986a5f1c47/noise/cellular.lisp
lisp
---------------------------------------------------------------------- ---------------------------------------------------------------------- 2D ---------------------------------------------------------------------- 3D ----------------------------------------------------------------------
(in-package :nineveh.noise) (defun-g cellular-weight-samples ((samples :vec4)) (setf samples (- (* samples 2.0) (v4! 1.0))) (- (* samples (* samples samples)) (sign samples))) (defun-g cellular-noise ((p :vec2)) (let* ((pi (floor p)) (pf (- p pi))) (multiple-value-bind (hash-x hash-y) (bs-fast32-...
2aae7f774e1f7de724322f27638217eb4b9a4ad6d4563aa080c23f6d46b523b4
TyOverby/mono
bonsai_partial_render_table_example.ml
open! Core open! Bonsai_web open Bonsai.Let_syntax module Table = Bonsai_web_ui_partial_render_table.Basic module Row = Row module Time_ns_option = struct type t = Time_ns.t option [@@deriving compare] let to_string = function | None -> "-" | Some t -> Time_ns.to_string_utc t ;; end module type S = sig...
null
https://raw.githubusercontent.com/TyOverby/mono/9f361de248f67441dd1486419ba19044b6fa4fad/app/bonsai-examples/partial_render_table/src/bonsai_partial_render_table_example.ml
ocaml
open! Core open! Bonsai_web open Bonsai.Let_syntax module Table = Bonsai_web_ui_partial_render_table.Basic module Row = Row module Time_ns_option = struct type t = Time_ns.t option [@@deriving compare] let to_string = function | None -> "-" | Some t -> Time_ns.to_string_utc t ;; end module type S = sig...
d3d75eafc76ae0833c1d9c83e379e96f1883df958c22e6e44b93d5751df5d776
khinsen/leibniz
tools.rkt
#lang racket (provide sort-graph->graphviz op->graphviz signature->graphviz) (require "./sorts.rkt" "./operators.rkt" racket/function threading) (define node-character-translation (hash "-" "DASH")) (define (symbol->node symbol) (for/fold ([s (symbol->string symbol)]...
null
https://raw.githubusercontent.com/khinsen/leibniz/881955b4c642114fbdc2f36ecc99582ae2371238/leibniz/tools.rkt
racket
translate to the old return value of lookup-op-rank-list Simplify a subarity graph by removing all edges that are equivalent to existing indirect paths.
#lang racket (provide sort-graph->graphviz op->graphviz signature->graphviz) (require "./sorts.rkt" "./operators.rkt" racket/function threading) (define node-character-translation (hash "-" "DASH")) (define (symbol->node symbol) (for/fold ([s (symbol->string symbol)]...
781bc79a817af2acdfac2099e88695fbf169796cdb8801f58eaefb7483c85239
UBTECH-Walker/WalkerSimulationFor2020WAIC
_package_cruiserPowerAction.lisp
(cl:in-package cruiser_msgs-srv) (cl:export '(DEV_NAME-VAL DEV_NAME ON_OFF-VAL ON_OFF RESULT-VAL RESULT ))
null
https://raw.githubusercontent.com/UBTECH-Walker/WalkerSimulationFor2020WAIC/7cdb21dabb8423994ba3f6021bc7934290d5faa9/walker_WAIC_16.04_v1.2_20200616/walker_install/share/common-lisp/ros/cruiser_msgs/srv/_package_cruiserPowerAction.lisp
lisp
(cl:in-package cruiser_msgs-srv) (cl:export '(DEV_NAME-VAL DEV_NAME ON_OFF-VAL ON_OFF RESULT-VAL RESULT ))
3804940faa4120797418da4f0360466d9bb5efb214c4cdada16374ca16e5f2f2
conal/functor-combo
Derivative.hs
# LANGUAGE TypeFamilies , TypeOperators # # OPTIONS_GHC -Wall # ---------------------------------------------------------------------- -- | Module : FunctorCombo . Derivative Copyright : ( c ) Conal Elliott 2010 -- License : BSD3 -- -- Maintainer : -- Stability : experimental -- Derivati...
null
https://raw.githubusercontent.com/conal/functor-combo/e83af37cc2cc3b9a88dae032e19c731cf7b7b63d/src/FunctorCombo/Derivative.hs
haskell
-------------------------------------------------------------------- | License : BSD3 Maintainer : Stability : experimental -------------------------------------------------------------------- ----------------------------------------------------------------- -----------------------------------------...
# LANGUAGE TypeFamilies , TypeOperators # # OPTIONS_GHC -Wall # Module : FunctorCombo . Derivative Copyright : ( c ) Conal Elliott 2010 Derivatives ( one - hole contexts ) for standard Functor combinators module FunctorCombo.Derivative (Der) where import FunctorCombo.Functor Derivatives , i.e...
8fdbe5bb4d94bcf5b39b45a4e5cfa6e77d5b343666b212f3d42d60a4ac675136
spl/ivy
rc.ml
Copyright ( c ) 2007 Intel Corporation * All rights reserved . * Redistribution and use in source and binary forms , with or without * modification , are permitted provided that the following conditions are * met : * * Redistributions of source code must retain the above copyright * notice , th...
null
https://raw.githubusercontent.com/spl/ivy/b1b516484fba637eb24e83d27555d273495e622b/src/heapsafe/rc.ml
ocaml
'adjustFunctions' maps the varinfo of "rc_adjust..." functions we know about to true Those rc_adjust... functions which we will automatically generate RCHACK: in debug mode all non-ptr types are treated as word-size integers Return the varinfo representing the definition of the "rc_adjust..." function for...
Copyright ( c ) 2007 Intel Corporation * All rights reserved . * Redistribution and use in source and binary forms , with or without * modification , are permitted provided that the following conditions are * met : * * Redistributions of source code must retain the above copyright * notice , th...
280f198911c51c636f8f5f2744b1cba37e8d46d339867097e096bbb4bbad3f8f
lojic/RacketCon2020
axio-worker.rkt
#lang racket/base (require "./axio-env.rkt") (provide axio-worker-thread) ;; -------------------------------------------------------------------------------------------- ;; Public Interface ;; -------------------------------------------------------------------------------------------- (define (axio-worker-thread th...
null
https://raw.githubusercontent.com/lojic/RacketCon2020/310e0ab01d8c3e1546029720f6bb66e6d1a5fb1e/TodoApp/axio/axio-worker.rkt
racket
-------------------------------------------------------------------------------------------- Public Interface --------------------------------------------------------------------------------------------
#lang racket/base (require "./axio-env.rkt") (provide axio-worker-thread) (define (axio-worker-thread thunk) (parameterize ([ current-custodian axio-worker-custodian ]) (thread thunk)))
059caad64f0c2ebe001d6cd5ddfd2f3bcf0485d52c5445fd44ef2cc172b81579
LexiFi/landmarks
graph.mli
This file is released under the terms of an MIT - like license . (* See the attached LICENSE file. *) Copyright 2016 by LexiFi . (** All about exporting profiling results *) * A { i callgraph } is a tree where each { ! node } is an i...
null
https://raw.githubusercontent.com/LexiFi/landmarks/1f5357f2bbd72a5f0a563b3c681848b60802434c/src/graph.mli
ocaml
See the attached LICENSE file. * All about exporting profiling results * Identifies nodes * The kind of node. * Usual landmarks * The special node that started with the profiling. * Counters (see {!Landmark.counter}) * Samplers (set {!Landmark.sampler}) * The type exported vi...
This file is released under the terms of an MIT - like license . Copyright 2016 by LexiFi . * A { i callgraph } is a tree where each { ! node } is an instance of a { ! } representing the entering and exiting of instrumented code in the execution path . ...
9e05a99fa4f98ce2405dc01e5097579e4b32207b825528895189117e93a4e3ea
prg-titech/Kani-CUDA
diffusion3d-shared-synth.rkt
#lang rosette (require "../../lang.rkt") (current-bitwidth #f) (synth-with-kani-cuda "diffusion3d-shared-sketch.rkt" "diffusion3d-shared-spec.rkt" "diffusion3d-shared-test.rkt")
null
https://raw.githubusercontent.com/prg-titech/Kani-CUDA/e97c4bede43a5fc4031a7d2cfc32d71b01ac26c4/Emulator/Examples/Diffusion3d-shared/diffusion3d-shared-synth.rkt
racket
#lang rosette (require "../../lang.rkt") (current-bitwidth #f) (synth-with-kani-cuda "diffusion3d-shared-sketch.rkt" "diffusion3d-shared-spec.rkt" "diffusion3d-shared-test.rkt")
8a764b048a95f40afcdca075ef959d09441003097267de08c00f59f9580e2ced
Phantas0s/sokoban
core.cljc
(ns sokoban.core (:require [sokoban.utils :as utils] [sokoban.move :as move] [sokoban.collision :as coll] [sokoban.levels :as levels] [sokoban.tiles :as tiles] [sokoban.hud :as hud] [play-cljc.gl.core :as c] [play-cljc.gl.entities-2d ...
null
https://raw.githubusercontent.com/Phantas0s/sokoban/b481314b5544c30f43ecfadcb0edeb2db44669e6/src/sokoban/core.cljc
clojure
TODO we can avoid all these swap / reset if states and history are in a higher level map (atom {:states :history})
(ns sokoban.core (:require [sokoban.utils :as utils] [sokoban.move :as move] [sokoban.collision :as coll] [sokoban.levels :as levels] [sokoban.tiles :as tiles] [sokoban.hud :as hud] [play-cljc.gl.core :as c] [play-cljc.gl.entities-2d ...
05666a7ecef9f1593e3067bb833a1c8ac6dfcfb69f429760bcd5d40a1e282036
bozsahin/ccglab
g-en.ccg.lisp
(defparameter *ccg-grammar* '(((KEY 1) (PHON I) (MORPH N) (SYN ((BCAT NP) (FEATS ((AGR |1S|))))) (SEM "I") (PARAM 1.0)) ((KEY 2) (PHON THINK) (MORPH EN) (SYN ((((BCAT S) (FEATS NIL)) (DIR BS) (MODAL ALL) ((BCAT NP) (FEATS ((AGR |1S|))))) (DIR FS) (MODAL HARMONIC) ((BCAT S) (FEATS NIL)))) (SEM ...
null
https://raw.githubusercontent.com/bozsahin/ccglab/15def13c76e562a053ff92d61353549818d2a7e3/examples/type-raising-with-workflow/g-en.ccg.lisp
lisp
(defparameter *ccg-grammar* '(((KEY 1) (PHON I) (MORPH N) (SYN ((BCAT NP) (FEATS ((AGR |1S|))))) (SEM "I") (PARAM 1.0)) ((KEY 2) (PHON THINK) (MORPH EN) (SYN ((((BCAT S) (FEATS NIL)) (DIR BS) (MODAL ALL) ((BCAT NP) (FEATS ((AGR |1S|))))) (DIR FS) (MODAL HARMONIC) ((BCAT S) (FEATS NIL)))) (SEM ...
079b4b795edc32883288891a42c6aa55cf742fa159c6205e548d537f5860bcfd
AntidoteDB/gingko
gingko_checkpoint_service.erl
%% 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 the License at %% %% -2.0 %% %% Unless required by applicable law or agreed to in writing, software distributed under the Lic...
null
https://raw.githubusercontent.com/AntidoteDB/gingko/a965979aefb2868abcd0b3bf5ed1b5e4f9fdd163/src/gingko_checkpoint_service.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 expressed or implied. See the License for the specific language governing permissions and limitations under the License. Description and complete Li...
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(gingko_checkpoint_service). -author("Kevin Bartik <>"). -include("inter_...
6d597d54021e247cfcee932447635fedf5eb35422f12749abca3f3a2402a2edb
theodormoroianu/SecondYearCourses
LambdaChurch_20210415170552.hs
module LambdaChurch where import Data.Char (isLetter) import Data.List ( nub ) class ShowNice a where showNice :: a -> String class ReadNice a where readNice :: String -> (a, String) data Variable = Variable { name :: String , count :: Int } deriving (Show, Eq, Ord) var :: String -> Variable var ...
null
https://raw.githubusercontent.com/theodormoroianu/SecondYearCourses/5e359e6a7cf588a527d27209bf53b4ce6b8d5e83/FLP/Laboratoare/Lab%209/.history/LambdaChurch_20210415170552.hs
haskell
alpha-equivalence subst u x t defines [u/x]t, i.e., substituting u for x in t This substitution avoids variable captures so it is safe to be used when reducing terms with free variables (e.g., if evaluating inside lambda abstractions) ^ substitution term ^ variable to be substitutes ^ term in which the substit...
module LambdaChurch where import Data.Char (isLetter) import Data.List ( nub ) class ShowNice a where showNice :: a -> String class ReadNice a where readNice :: String -> (a, String) data Variable = Variable { name :: String , count :: Int } deriving (Show, Eq, Ord) var :: String -> Variable var ...
a5d82359f079f062a281091aaa38fd6ecc753d41a54ff802f6fa069eea6d233e
mstksg/backprop-learn
Util.hs
# LANGUAGE AllowAmbiguousTypes # {-# LANGUAGE DataKinds #-} {-# LANGUAGE GADTs #-} # LANGUAGE KindSignatures # # LANGUAGE LambdaCase # # LANGUAGE PolyKinds # {-# LANGUAGE RankNTypes #-} {-# LANGUAGE ScopedTypeVariables #-} # LANGUAGE T...
null
https://raw.githubusercontent.com/mstksg/backprop-learn/59aea530a0fad45de6d18b9a723914d1d66dc222/old/src/Data/Type/Util.hs
haskell
# LANGUAGE DataKinds # # LANGUAGE GADTs # # LANGUAGE RankNTypes # # LANGUAGE ScopedTypeVariables # # LANGUAGE TypeOperators #
# LANGUAGE AllowAmbiguousTypes # # LANGUAGE KindSignatures # # LANGUAGE LambdaCase # # LANGUAGE PolyKinds # # LANGUAGE TypeApplications # # LANGUAGE TypeFamilyDependencies # # OPTIONS_GHC -fno - warn - orphans # module Data.Type.Util ( MaybeToList , replWit , r...
2e7612de78ba7f40b0cfd0c14c815daed878ebbb0ee6807705e7fca0be674def
Shinmera/vpetjam
general.lisp
(in-package #:org.shirakumo.fraf.vpetjam) (defclass ui (org.shirakumo.fraf.trial.alloy:ui org.shirakumo.alloy:fixed-scaling-ui org.shirakumo.alloy.renderers.simple.presentations:default-look-and-feel) ((alloy:target-resolution :initform (alloy:px-size 1280 720)) (alloy:scales :initform...
null
https://raw.githubusercontent.com/Shinmera/vpetjam/67d6f7ef269e3e75886965d025b797aa21890dd3/ui/general.lisp
lisp
Then attach to the UI Hide prompts Clear pending events to avoid spurious inputs Clear pending events to avoid spurious inputs
(in-package #:org.shirakumo.fraf.vpetjam) (defclass ui (org.shirakumo.fraf.trial.alloy:ui org.shirakumo.alloy:fixed-scaling-ui org.shirakumo.alloy.renderers.simple.presentations:default-look-and-feel) ((alloy:target-resolution :initform (alloy:px-size 1280 720)) (alloy:scales :initform...
c9b91a4274fc5633b4e2c3b37620509c808fafa2f857de3cac67e58d2dcdc71a
diku-dk/futhark
Literate.hs
-- | @futhark literate@ module Futhark.CLI.Literate (main) where import Codec.BMP qualified as BMP import Control.Monad.Except import Control.Monad.State hiding (State) import Data.Bifunctor (first, second) import Data.Bits import Data.ByteString qualified as BS import Data.ByteString.Lazy qualified as LBS import Data...
null
https://raw.githubusercontent.com/diku-dk/futhark/1fe93634d63df6005116f55f18e8a35b1a11987a/src/Futhark/CLI/Literate.hs
haskell
| @futhark literate@ | The collection of file paths (all inside the image directory) produced during directive execution. BMPs are RGBA and bottom-up where we assumes images are top-down probably a little slower than it has to be. tranposed indexes for a backpermutation. | Image dir relative to program. Di...
module Futhark.CLI.Literate (main) where import Codec.BMP qualified as BMP import Control.Monad.Except import Control.Monad.State hiding (State) import Data.Bifunctor (first, second) import Data.Bits import Data.ByteString qualified as BS import Data.ByteString.Lazy qualified as LBS import Data.Char import Data.Functo...
2956650d78b8f5ff40536c33d3163b17fa1709fa86dc3a017142f46b49252bea
robashton/cravendb
lucene.clj
(ns cravendb.lucene (:use [clojure.tools.logging :only (info error debug)]) (:require [cravendb.queryparsing :as qp]) (:import (org.apache.lucene.analysis.standard StandardAnalyzer) (org.apache.lucene.store FSDirectory RAMDirectory) (org.apache.lucene.util Version) (or...
null
https://raw.githubusercontent.com/robashton/cravendb/461e80c7c028478adb4287922db6ee4d2593a880/src/cravendb/lucene.clj
clojure
(ns cravendb.lucene (:use [clojure.tools.logging :only (info error debug)]) (:require [cravendb.queryparsing :as qp]) (:import (org.apache.lucene.analysis.standard StandardAnalyzer) (org.apache.lucene.store FSDirectory RAMDirectory) (org.apache.lucene.util Version) (or...
f289fb962280dcacfa40e5f534d07e841da5e0bfe4bd7c503ad90bec1d7ca08f
ufo5260987423/scheme-langserver
test-lambda.sps
#!/usr/bin/env scheme-script -*- mode : scheme ; coding : utf-8 -*- ! # Copyright ( c ) 2022 WANG SPDX - License - Identifier : MIT #!r6rs (import (rnrs (6)) (srfi :64 testing) (scheme-langserver analysis workspace) (scheme-langserver analysis identifier reference) (scheme-langserver analysis ident...
null
https://raw.githubusercontent.com/ufo5260987423/scheme-langserver/c4d9b4eb9071d24d9208cdf228fa37cfe71788cb/tests/analysis/identifier/rules/test-lambda.sps
scheme
coding : utf-8 -*- ! # a case-lambda node
#!/usr/bin/env scheme-script Copyright ( c ) 2022 WANG SPDX - License - Identifier : MIT #!r6rs (import (rnrs (6)) (srfi :64 testing) (scheme-langserver analysis workspace) (scheme-langserver analysis identifier reference) (scheme-langserver analysis identifier rules lambda) (scheme-langserver an...
49e862e928d570a37ebe93313870139b899b549b82cd79a907f8ad11bb0598cb
clojure/clojurescript
core_test.cljs
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 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/clojure/clojurescript/c8ab636594f3914a2430b89a7d09fa1e6693e2db/src/test/cljs/cljs/core_test.cljs
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 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 ...
Copyright ( c ) . All rights reserved . (ns cljs.core-test (:refer-clojure :exclude [iter]) (:require [cljs.test :refer-macros [deftest testing is are]] [clojure.test.check :as tc] [clojure.test.check.clojure-test :refer-macros [defspec]] [clojure.test.check.generators :as...
26d75758a248aaffae2dda5ce9d5ef452a22be01a94c6c34841c80cdb6a18fc3
Eonblast/Scalaxis
rep_upd_SUITE.erl
2010 - 2011 Zuse Institute Berlin % @end % Licensed under the Apache License , Version 2.0 ( the " License " ) ; % you may not use this file except in compliance with the License. % You may obtain a copy of the License at % % -2.0 % % Unless required by applicable law or agreed to in writing, softw...
null
https://raw.githubusercontent.com/Eonblast/Scalaxis/10287d11428e627dca8c41c818745763b9f7e8d4/test/rep_upd_SUITE.erl
erlang
@end you may not use this file except in compliance with the License. You may obtain a copy of the License at -2.0 Unless required by applicable law or agreed to in writing, software WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific lang...
2010 - 2011 Zuse Institute Berlin Licensed under the Apache License , Version 2.0 ( the " License " ) ; distributed under the License is distributed on an " AS IS " BASIS , @author < Created : 2011 - 05 - 27 by -module(rep_upd_SUITE). -author(''). -compile(export_all). -include("unittest.hrl")....