_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
ff4541ebc96f8f9fb00f46827cbc6c9ae4739716c1114d3edf235a0c88b2d205
djblue/portal
launcher.clj
(ns ^:no-doc ^:no-check portal.runtime.clr.launcher (:require [clojure.string :as str] [portal.runtime :as rt] [portal.runtime.browser :as browser] [portal.runtime.clr.client :as c] [portal.runtime.clr.server :as server]) (:import (System.Net HttpListener HttpListener...
null
https://raw.githubusercontent.com/djblue/portal/28ce39007dee47cff6246f28ae4bb80398da80db/src/portal/runtime/clr/launcher.clj
clojure
(ns ^:no-doc ^:no-check portal.runtime.clr.launcher (:require [clojure.string :as str] [portal.runtime :as rt] [portal.runtime.browser :as browser] [portal.runtime.clr.client :as c] [portal.runtime.clr.server :as server]) (:import (System.Net HttpListener HttpListener...
cb8c5cab8ca000332b841705e707411b6fb5e94f8d5634e3e7bdf080fbbcb634
jimcrayne/jhc
Util.hs
module Util.Util( module Data.Monoid, module Data.List, module Data.Maybe, module Control.Monad ) where import Data.Monoid import Data.Maybe import Data.List import Control.Monad
null
https://raw.githubusercontent.com/jimcrayne/jhc/1ff035af3d697f9175f8761c8d08edbffde03b4e/src/Util/Util.hs
haskell
module Util.Util( module Data.Monoid, module Data.List, module Data.Maybe, module Control.Monad ) where import Data.Monoid import Data.Maybe import Data.List import Control.Monad
5907cc62f21899ad285e29fe3a8d270dac9227034d7a8fb2f86ca2cb5e2399f4
facebook/pyre-check
classMetadataEnvironment.ml
* Copyright ( c ) Meta Platforms , Inc. and affiliates . * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree . * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in t...
null
https://raw.githubusercontent.com/facebook/pyre-check/b1f0406e7ba562dc2f85658983ec95d5f797bbd0/source/analysis/classMetadataEnvironment.ml
ocaml
ClassMetadataEnvironment: layer of the environment stack * - upstream: ClassHierarchyEnvironment * - downstream: AttributeResolution * - key: the name type, as an Identifier.t * - value: ClassMetadataEnvironment.class_meatadata * * The ClassMetadataEnvironment is a cache for metadata about classes * that requir...
* Copyright ( c ) Meta Platforms , Inc. and affiliates . * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree . * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in t...
a7b9b472fb336a94efffb08d47f7361d4c764fb5910b755964998eda802d2273
ryukinix/leraxandria
cl-gtk-example.lisp
#+quicklisp (eval-when (:execute :load-toplevel) (ql:quickload :cl-cffi-gtk)) (defpackage :leraxandria/gtk-tutorial (:use :gtk :gdk :gdk-pixbuf :gobject :glib :gio :pango :cairo :common-lisp) (:export #:example-simple-window #:example-hello-world #:example-text-view-to...
null
https://raw.githubusercontent.com/ryukinix/leraxandria/e8c4d1f6d1e88072fbd58dd6c48b5d80577f3b62/apps/gui/cl-gtk-example.lisp
lisp
Create a toplevel window. Show the window. Create a toplevel window, set a border width. Create a button with a label. Put the button into the window. Show the window and the button. Destroy any previous tool tip window Create a new tool tip window Place it at the calculated position. Change the default font ...
#+quicklisp (eval-when (:execute :load-toplevel) (ql:quickload :cl-cffi-gtk)) (defpackage :leraxandria/gtk-tutorial (:use :gtk :gdk :gdk-pixbuf :gobject :glib :gio :pango :cairo :common-lisp) (:export #:example-simple-window #:example-hello-world #:example-text-view-to...
7e479ebe447113057a24374e7bfb5a782a814b34df50862de5992e244dfa7758
schlagert/syslog
syslog_error_h.erl
%%%============================================================================= Copyright 2013 - 2017 , < > %%% %%% Permission to use, copy, modify, and/or distribute this software for any %%% purpose with or without fee is hereby granted, provided that the above %%% copyright notice and this permission notice ap...
null
https://raw.githubusercontent.com/schlagert/syslog/afa22abe282ead1b6421b27a9d6469a24b776e66/src/syslog_error_h.erl
erlang
============================================================================= Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. WITH REGARD TO THIS SOFTWA...
Copyright 2013 - 2017 , < > THE SOFTWARE IS PROVIDED " AS IS " AND THE AUTHOR DISCLAIMS ALL WARRANTIES ANY SPECIAL , DIRECT , INDIRECT , OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE , DATA OR PROFITS , WHETHER IN AN -module(syslog_error_h). -behaviour(gen_event). -export([i...
52ab74b70ca7df8df1dd16bfa470bfbdf68100b00496f51035d77b4d66bb6552
alonsodomin/groot
Setup.hs
import Distribution.Simple main :: IO () main = defaultMain
null
https://raw.githubusercontent.com/alonsodomin/groot/040215db2797bef27b1c336ea826a58ddd45f8de/Setup.hs
haskell
import Distribution.Simple main :: IO () main = defaultMain
f69172e62baeba04eac3a875530fbae7f19143690eb2dd69c08a3a6b3b4d4fcc
pascal-knodel/haskell-craft
E'4'36.hs
-- -- -- ----------------- Exercise 4.36 . ----------------- -- -- -- module E'4'36 where attempt :: Integer -> Integer -> Integer -> Bool attempt m n p = m /= n && n /= p -- Test results: -- -- *C4> runTestTT testsAllDifferent # # # Failure in : 12 for : allDifferent 2 3 2 -- expec...
null
https://raw.githubusercontent.com/pascal-knodel/haskell-craft/c03d6eb857abd8b4785b6de075b094ec3653c968/Chapter%204/E'4'36.hs
haskell
--------------- --------------- Test results: *C4> runTestTT testsAllDifferent expected: False but got: True
Exercise 4.36 . module E'4'36 where attempt :: Integer -> Integer -> Integer -> Bool attempt m n p = m /= n && n /= p # # # Failure in : 12 for : allDifferent 2 3 2 Cases : 14 Tried : 14 Errors : 0 Failures : 1 Counts { cases = 14 , tried = 14 , errors = 0 , failures = 1 }
5a6247a2b082ef8968e79a22c9d7f31309f3563df1b976134556e9feebc93466
vikram/lisplibraries
xmls.lisp
;;; xmls ;;; a simple xml parser for common lisp author : < > ;;; see COPYING file for license information (defpackage xmls (:use :cl :cl-user) (:export node-name node-ns node-attrs node-children make-node parse toxml write-xml)) (in-package :xmls) ;;;--------------------------------------------------------...
null
https://raw.githubusercontent.com/vikram/lisplibraries/105e3ef2d165275eb78f36f5090c9e2cdd0754dd/site/xmls-1.2/xmls.lisp
lisp
xmls a simple xml parser for common lisp see COPYING file for license information ----------------------------------------------------------------------------- GLOBAL SETTINGS ----------------------------------------------------------------------------- --------------------------------------------------------------...
author : < > (defpackage xmls (:use :cl :cl-user) (:export node-name node-ns node-attrs node-children make-node parse toxml write-xml)) (in-package :xmls) (defvar *strip-comments* t) (defvar *compress-whitespace* t) (defvar *test-verbose* nil) (defvar *entities* #(("lt;" #\<) ("gt;" #\>) ("amp;" #...
8e563501ee9d4189d86c0f458ad65adec0e8a703725b69f295ccbd42dada7ed1
amperity/dialog
util.clj
(ns ^:no-doc dialog.util "Implementation utilities." (:import java.net.InetAddress)) ;; ## Error Reporting (def ^:private err-buckets "Atom containing a map from error type keywords to a bucket structure. Each bucket is a tuple of a timestamp since the last check, a token amount, and a count of message...
null
https://raw.githubusercontent.com/amperity/dialog/08629f72ec4ea2bf9b0a8a3bcc902dd9c115e6dc/src/clojure/dialog/util.clj
clojure
## Error Reporting Enough supply to emit a mesage. Not enough supply. ## Miscellaneous
(ns ^:no-doc dialog.util "Implementation utilities." (:import java.net.InetAddress)) (def ^:private err-buckets "Atom containing a map from error type keywords to a bucket structure. Each bucket is a tuple of a timestamp since the last check, a token amount, and a count of messages suppressed since the...
e216b6c92dba39e1d5cd9613809f33d1d4e801fdd8d44ae0aa76a7463371fbe8
andrenth/sequoia
q5.ml
let q5 = let%sql query, params = Mysql.(Select.(Expr.(Vector.( from User.table |> left_join (self User.id User.id) |> select [ field User.id ] |> seal )))) in query, params
null
https://raw.githubusercontent.com/andrenth/sequoia/77d1a429042213f2ff76e5d397c876bc18f4ab64/test/ppx/queries/q5.ml
ocaml
let q5 = let%sql query, params = Mysql.(Select.(Expr.(Vector.( from User.table |> left_join (self User.id User.id) |> select [ field User.id ] |> seal )))) in query, params
96acec21d444fe7cfaed4f1bb84df2ec9a992741bb1707f185c89845066c3ed9
unclebob/AdventOfCode2022
project.clj
(defproject day9-rope-bridge "0.1.0-SNAPSHOT" :description "FIXME: write description" :url "" :license {:name "Eclipse Public License" :url "-v10.html"} :main day9-rope-bridge.core :dependencies [[org.clojure/clojure "1.8.0"]] :profiles {:dev {:dependencies [[speclj "3.3.2"]]}} :plugins [[spec...
null
https://raw.githubusercontent.com/unclebob/AdventOfCode2022/16b7c9f643623bed1b191ca518add463ce0566de/day9-rope-bridge/project.clj
clojure
(defproject day9-rope-bridge "0.1.0-SNAPSHOT" :description "FIXME: write description" :url "" :license {:name "Eclipse Public License" :url "-v10.html"} :main day9-rope-bridge.core :dependencies [[org.clojure/clojure "1.8.0"]] :profiles {:dev {:dependencies [[speclj "3.3.2"]]}} :plugins [[spec...
1992ee35a6345e00475d7f9b1952d8d94b8b11a705022b411ea4b9f32bdf19dd
nuvla/api-server
callback_lifecycle_test.clj
(ns sixsq.nuvla.server.resources.callback-lifecycle-test (:require [clojure.data.json :as json] [clojure.test :refer [deftest is use-fixtures]] [peridot.core :refer [content-type header request session]] [sixsq.nuvla.server.app.params :as p] [sixsq.nuvla.server.middleware.authn-info :refer [authn-...
null
https://raw.githubusercontent.com/nuvla/api-server/272c1b8f7a5cd306d01464cf801d6174df146f71/code/test/sixsq/nuvla/server/resources/callback_lifecycle_test.clj
clojure
admin collection query should succeed but be empty user collection query should not succeed anonymous collection query should not succeed create a callback as an admin state should be ignored admin should be able to see the callback user cannot directly see the callback check contents and editing mark callback...
(ns sixsq.nuvla.server.resources.callback-lifecycle-test (:require [clojure.data.json :as json] [clojure.test :refer [deftest is use-fixtures]] [peridot.core :refer [content-type header request session]] [sixsq.nuvla.server.app.params :as p] [sixsq.nuvla.server.middleware.authn-info :refer [authn-...
3d5d9f9ba82a4caba004588c9f0607d638b0fc023ca320bd976e919d9627207f
flyingmachine/minimax-tictactoe
tictactoe.lisp
(defparameter *board-size* 9) (defparameter *players* '((X . 1) (O . -1))) (defparameter *starting-board* '(nil nil nil nil nil nil nil nil nil)) (defparameter *game-tree* nil) (defparameter *current-game-state* nil) (defparameter *board-rankings* (make-hash-table :test #'equal)) (defun game-state (board player-who-ju...
null
https://raw.githubusercontent.com/flyingmachine/minimax-tictactoe/1580dd10bb35829923e56bc46eb61102e52fdc44/phase1/tictactoe.lisp
lisp
*** For rankings x just moved; o is making move horizontal wins vertical wins diagonal wins in max-move *** Game flow
(defparameter *board-size* 9) (defparameter *players* '((X . 1) (O . -1))) (defparameter *starting-board* '(nil nil nil nil nil nil nil nil nil)) (defparameter *game-tree* nil) (defparameter *current-game-state* nil) (defparameter *board-rankings* (make-hash-table :test #'equal)) (defun game-state (board player-who-ju...
f4238f34712aa20a1aaf88ccaf54ed4e340f099df9919386bb454600ef87e5c0
OCamlPro/numcaml
pa_numcaml.ml
* Copyright ( c ) 2011 < > * * 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 IS " AND THE AU...
null
https://raw.githubusercontent.com/OCamlPro/numcaml/5c12b3aa62b09670ba7712006b5aa0254b8bdea3/syntax/pa_numcaml.ml
ocaml
* Copyright ( c ) 2011 < > * * 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 IS " AND THE AU...
2370779da3a0ee6d1457babe765f9c55a1c0591de8eb3a3366e9de7fb8f51727
hoelzl/Clicc
expert.lisp
;;;----------------------------------------------------------------------------- Projekt : APPLY - A Practicable And Portable Lisp Implementation ;;; ------------------------------------------------------ ;;; Funktion : Test eines regelbasierten Expertensystems mit Vorvaertsverkettung ;;; $ Revision : ...
null
https://raw.githubusercontent.com/hoelzl/Clicc/cea01db35301144967dc74fd2f96dd58aa52d6ea/src/test/expert.lisp
lisp
----------------------------------------------------------------------------- ------------------------------------------------------ Funktion : Test eines regelbasierten Expertensystems mit Vorvaertsverkettung $Log: expert.lisp,v $ Anpassung an die zwei Versionen des Patternmatchers. Package auf User...
Projekt : APPLY - A Practicable And Portable Lisp Implementation $ Revision : 1.6 $ Revision 1.6 1993/06/07 11:12:03 kl Revision 1.5 1993/02/16 17:15:08 hk Revision Keyword eingefuegt . Revision 1.4 1992/09/04 12:52:14 kl Textausgaben . Revision 1.1 1992/08/26 13:02:40 kl (...
898794eb0cc00b3eba464a4a057b578cefff1336831138597b2ac73465331203
sorenmacbeth/flambo
sql_functions.clj
(ns flambo.sql-functions (:import [org.apache.spark.sql functions])) (defmulti col class) (defmethod col org.apache.spark.sql.Column [x] x) (defmethod col java.lang.String [x] (functions/col x)) (defmethod col clojure.lang.Symbol [x] (functions/col (str x)))
null
https://raw.githubusercontent.com/sorenmacbeth/flambo/9c61467697547c5fe3d05070be84cd2320cb53ce/src/clojure/flambo/sql_functions.clj
clojure
(ns flambo.sql-functions (:import [org.apache.spark.sql functions])) (defmulti col class) (defmethod col org.apache.spark.sql.Column [x] x) (defmethod col java.lang.String [x] (functions/col x)) (defmethod col clojure.lang.Symbol [x] (functions/col (str x)))
82b8397ca027d75ea440d0134c660603041114b8732b2c1ed2aa1a1bdcd1594a
pelle/clauth
client.clj
(ns clauth.client (:require [clauth [token :refer [generate-token]] [store :as store]])) (defonce client-store (atom (store/create-memory-store))) (defn client-app "Create new client-application record" ([attrs] (if attrs (merge attrs {:client-id (:client-id a...
null
https://raw.githubusercontent.com/pelle/clauth/6f33d256e7cd5be72334ea58d6122395c7e305ca/src/clauth/client.clj
clojure
(ns clauth.client (:require [clauth [token :refer [generate-token]] [store :as store]])) (defonce client-store (atom (store/create-memory-store))) (defn client-app "Create new client-application record" ([attrs] (if attrs (merge attrs {:client-id (:client-id a...
f7742b19639ef7a9ec10f47aac23f289ed58767a266fdc2b7886755fe822e297
haskellfoundation/error-message-index
NotStockDeriveable.hs
module NotStockDeriveable where class MyClass a data MyType = MyType deriving MyClass
null
https://raw.githubusercontent.com/haskellfoundation/error-message-index/6b80c2fe6d8d2941190bda587bcea6f775ded0a4/message-index/messages/GHC-00158/example1/before/NotStockDeriveable.hs
haskell
module NotStockDeriveable where class MyClass a data MyType = MyType deriving MyClass
cab9b63776fe521545ebe3763f027ca0fdb0a30e43148695737541d8674b3152
clojure-interop/google-cloud-clients
core.clj
(ns core (:refer-clojure :only [require comment defn ->]) (:import )) (require '[com.google.cloud.texttospeech.v1.core]) (require '[com.google.cloud.texttospeech.v1.stub.core]) (require '[com.google.cloud.texttospeech.v1beta1.core]) (require '[com.google.cloud.texttospeech.v1beta1.stub.core])
null
https://raw.githubusercontent.com/clojure-interop/google-cloud-clients/80852d0496057c22f9cdc86d6f9ffc0fa3cd7904/com.google.cloud.texttospeech/src/core.clj
clojure
(ns core (:refer-clojure :only [require comment defn ->]) (:import )) (require '[com.google.cloud.texttospeech.v1.core]) (require '[com.google.cloud.texttospeech.v1.stub.core]) (require '[com.google.cloud.texttospeech.v1beta1.core]) (require '[com.google.cloud.texttospeech.v1beta1.stub.core])
6784e238228001ce0726c6442e463d8262b9819c7ea1b9d30d8b12eb002458d4
vlstill/hsExprTest
mono.q.hs
expr = "f" f x = x
null
https://raw.githubusercontent.com/vlstill/hsExprTest/391fc823c1684ec248ac8f76412fefeffb791865/test/mono.q.hs
haskell
expr = "f" f x = x
4adece401d43514a673781e1cf099322e0091b8054f0b441a7016003e8a3ec9b
alephcloud/hs-yet-another-logger
TastyTools.hs
Copyright ( c ) 2016 - 2020 < > Copyright ( c ) 2013 - 2015 PivotCloud , Inc. All Rights Reserved . -- -- NOTICE: The dissemination, reproduction, or copying of this file and the -- information contained herein, in any medium, is strictly forbidden. -- -- The intellectual property and technical concepts containe...
null
https://raw.githubusercontent.com/alephcloud/hs-yet-another-logger/bdeb95980b69839b1acf1a8cef53426bbd073531/test/TastyTools.hs
haskell
NOTICE: The dissemination, reproduction, or copying of this file and the information contained herein, in any medium, is strictly forbidden. The intellectual property and technical concepts contained herein are | Copyright: License: All Rights Reserved, see LICENSE file of the package Stability: experimental ...
Copyright ( c ) 2016 - 2020 < > Copyright ( c ) 2013 - 2015 PivotCloud , Inc. All Rights Reserved . proprietary to PivotCloud and are protected by U.S. and Foreign law . Module : TastyTools Copyright ( c ) 2016 - 2020 < > Copyright ( c ) 2013 - 2015 PivotCloud , Inc. All Rights Reserved . M...
da019d9d965927c2af9181ff32c9507fed936284a18487acf6443b649153cf50
ocaml/opam
opamPath.mli
(**************************************************************************) (* *) Copyright 2012 - 2020 OCamlPro Copyright 2012 INRIA (* ...
null
https://raw.githubusercontent.com/ocaml/opam/9e287777ebd14fb52130aa945f792861ec034cd5/src/format/opamPath.mli
ocaml
************************************************************************ All rights reserved. This file is distributed under the terms of the exception on linking descr...
Copyright 2012 - 2020 OCamlPro Copyright 2012 INRIA GNU Lesser General Public License version 2.1 , with the special * Defines the file hierarchy in ~/.opam open OpamTypes * { 2 Global paths } type t = dirnam...
be5787fa0538cd9b9f4ac241df4cd0ebd189da77e19494f7233edad2c99672ae
ahrefs/devkit
web.ml
(** web utilities *) open ExtLib open Printf open Prelude open Control let log = Log.self (** percent-encode (convert space into %20) *) let rawurlencode = Netencoding.Url.encode ~plus:false * percent - encode , but convert space into plus , not % 20 let urlencode = Netencoding.Url.encode ~plus:true (** percent-d...
null
https://raw.githubusercontent.com/ahrefs/devkit/9a80b407afecffaa4dd47b64a1f337939cb109e4/web.ml
ocaml
* web utilities * percent-encode (convert space into %20) * percent-decode (leave plus as is) * percent-decode and convert plus into space U+FFFD REPLACEMENT CHARACTER (k, "") -> urlencode k | "Curl.app", get_appconnecttime; content-type and body request, content-type and body content-type and body...
open ExtLib open Printf open Prelude open Control let log = Log.self let rawurlencode = Netencoding.Url.encode ~plus:false * percent - encode , but convert space into plus , not % 20 let urlencode = Netencoding.Url.encode ~plus:true let rawurldecode s = try Netencoding.Url.decode ~plus:false s with _ -> s let ur...
5961a72b26840b7f9cc1a6b8a0225c8e62df14aa56b30e8a8549a6fb3e34b035
onedata/op-worker
memory_pools_cleanup_test_SUITE.erl
%%%-------------------------------------------------------------------- @author ( C ) 2018 ACK CYFRONET AGH This software is released under the MIT license cited in ' LICENSE.txt ' . %%% @end %%%-------------------------------------------------------------------- %%% @doc This module tests cleanup of memory ...
null
https://raw.githubusercontent.com/onedata/op-worker/b09f05b6928121cec4d6b41ce8037fe056e6b4b3/test_distributed/memory_pools_cleanup_test_SUITE.erl
erlang
-------------------------------------------------------------------- @end -------------------------------------------------------------------- @doc This module tests cleanup of memory pools @end -------------------------------------------------------------------- export for ct ======================================...
@author ( C ) 2018 ACK CYFRONET AGH This software is released under the MIT license cited in ' LICENSE.txt ' . -module(memory_pools_cleanup_test_SUITE). -author("Michal Stanisz"). -include("modules/fslogic/fslogic_common.hrl"). -include_lib("proto/common/credentials.hrl"). -include_lib("ctool/include/test/t...
f507fb149dd2ae4accb6692b53d9a7edef3d1af0f200216ab15983f8433b1968
mario-goulart/fu
builtin-goodies.scm
;;; This is a hack the ease building goodies into fu. Add here ;;; include forms. ;;; ;;; Example: ;;; (include "/path/to/some/file.scm")
null
https://raw.githubusercontent.com/mario-goulart/fu/da09b7be28bc4a24d664686715350d6292ecda6e/builtin-goodies.scm
scheme
This is a hack the ease building goodies into fu. Add here include forms. Example: (include "/path/to/some/file.scm")
237c9faedd9e053b0052255308abd1b80f2706c9bad38193a2ecbec46c5cea76
fukamachi/sxql
clause.lisp
(in-package :cl-user) (defpackage t.sxql.clause (:use :cl :prove :sxql.sql-type :sxql.operator :sxql.clause :sxql.compile) (:shadowing-import-from :t.sxql.prepare :is-error)) (in-package :t.sxql.clause) (plan 59) (ok (make-clause :where (make-op :=...
null
https://raw.githubusercontent.com/fukamachi/sxql/995f428b8e9b169d27f38faba2392e92b90a1f2d/t/clause.lisp
lisp
(is-error (make-clause :set=) program-error) (is-error (make-clause :set= 'a 1 'b) program-error)
(in-package :cl-user) (defpackage t.sxql.clause (:use :cl :prove :sxql.sql-type :sxql.operator :sxql.clause :sxql.compile) (:shadowing-import-from :t.sxql.prepare :is-error)) (in-package :t.sxql.clause) (plan 59) (ok (make-clause :where (make-op :=...
0ee498b10b32638b738e910270a72c1ed8c8e9f35595539504a8b4dde3c9b76f
rudymatela/extrapolate
step-by-step.hs
Copyright ( c ) 2017 - 2019 . -- Distributed under the 3-Clause BSD licence (see the file LICENSE). import Test import Data.List (nub) main :: IO () main = mainTest tests 10000 tests :: Int -> [Bool] tests n = [ True , testableBackground prop == [ operatorE (is_ -==- is_) , operatorE (is_ -/=- is_...
null
https://raw.githubusercontent.com/rudymatela/extrapolate/0b3ca28eed0d04358b2fb033664476f8b29821a6/test/step-by-step.hs
haskell
Distributed under the 3-Clause BSD licence (see the file LICENSE).
Copyright ( c ) 2017 - 2019 . import Test import Data.List (nub) main :: IO () main = mainTest tests 10000 tests :: Int -> [Bool] tests n = [ True , testableBackground prop == [ operatorE (is_ -==- is_) , operatorE (is_ -/=- is_) , operatorE (is_ -<=- is_) , operatorE (is_ -<- is_) ...
002e44533251a538948054a5e01c66ff7fbef23e90a4e509191a84f36153501c
haskoin/haskoin-wallet
Amounts.hs
# LANGUAGE FlexibleContexts # {-# LANGUAGE OverloadedStrings #-} {-# LANGUAGE TypeFamilies #-} module Network.Haskoin.Wallet.Amounts where import Control.Arrow (second) import Control.Monad import Data.Decimal import Data.String.Conversions (cs) ...
null
https://raw.githubusercontent.com/haskoin/haskoin-wallet/6ec0851d745e41fc011715eae461bf29c3019e9e/src/Network/Haskoin/Wallet/Amounts.hs
haskell
# LANGUAGE OverloadedStrings # # LANGUAGE TypeFamilies # Amount Parsing -- satoshi is always singular plural form bitcoins and bits | Like 'showAmount' but will display a minus sign for negative amounts | Like 'readAmount' but can parse a negative amount
# LANGUAGE FlexibleContexts # module Network.Haskoin.Wallet.Amounts where import Control.Arrow (second) import Control.Monad import Data.Decimal import Data.String.Conversions (cs) import Data.Text as Text import ...
604900dc38c29e24041935a7f56fb11bb3ceacf116d9d44f268259bfd6a12721
irastypain/sicp-on-language-racket
exercise_1_16.rkt
#lang racket (require (only-in "../../lib/base.rkt" even? square)) (define (fast-expt b n) (fast-expt-iter b n 1)) (define (fast-expt-iter b counter a) (cond ((= counter 0) a) ((even? counter) (fast-expt-iter (square b) (/ counter 2) a)) (else (fast-expt-iter b...
null
https://raw.githubusercontent.com/irastypain/sicp-on-language-racket/0052f91d3c2432a00e7e15310f416cb77eeb4c9c/src/chapter01/exercise_1_16.rkt
racket
#lang racket (require (only-in "../../lib/base.rkt" even? square)) (define (fast-expt b n) (fast-expt-iter b n 1)) (define (fast-expt-iter b counter a) (cond ((= counter 0) a) ((even? counter) (fast-expt-iter (square b) (/ counter 2) a)) (else (fast-expt-iter b...
ac1ab6b185789ec21bd2be34d37e25269f851656ba7d57c513003abf255d4e8f
xapi-project/xen-api-libs
pciutil_main.ml
* Copyright ( C ) 2006 - 2009 Citrix Systems Inc. * * 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 ; version 2.1 only . with the special * exception on linking describe...
null
https://raw.githubusercontent.com/xapi-project/xen-api-libs/d603ee2b8456bc2aac99b0a4955f083e22f4f314/pciutil/pciutil_main.ml
ocaml
* Copyright ( C ) 2006 - 2009 Citrix Systems Inc. * * 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 ; version 2.1 only . with the special * exception on linking describe...
8dde0e0693190091a7db6a40d65520425dd4afc728ecad9b477f208b6ea5f6ce
swamp-agr/proof-assistant-bot
TypeIn.hs
{-# LANGUAGE OverloadedStrings #-} module Agda.Interaction.Command.TypeIn where import Agda.Interaction.Base (Rewrite (..)) import Agda.Interaction.BasicOps (typeInMeta) import Agda.TypeChecking.Monad.Base (TCM) import Agda.TypeChecking.Pretty (prettyTCM) import Agda.Utils.Pretty (prettyShow) import Data.ByteString (B...
null
https://raw.githubusercontent.com/swamp-agr/proof-assistant-bot/759ded398ca7a145fecf5a094c86c7c26c9159da/src/Agda/Interaction/Command/TypeIn.hs
haskell
# LANGUAGE OverloadedStrings #
module Agda.Interaction.Command.TypeIn where import Agda.Interaction.Base (Rewrite (..)) import Agda.Interaction.BasicOps (typeInMeta) import Agda.TypeChecking.Monad.Base (TCM) import Agda.TypeChecking.Pretty (prettyTCM) import Agda.Utils.Pretty (prettyShow) import Data.ByteString (ByteString) import Agda.Interaction...
5e2ad139dc668acf6f0017b6fbded7b0f4a095ffd0881d8e21268187fba0904d
mzp/coq-ide-for-ios
typeops.ml
(************************************************************************) v * The Coq Proof Assistant / The Coq Development Team < O _ _ _ , , * INRIA - CNRS - LIX - LRI - PPS - Copyright 1999 - 2010 \VV/ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *...
null
https://raw.githubusercontent.com/mzp/coq-ide-for-ios/4cdb389bbecd7cdd114666a8450ecf5b5f0391d3/coqlib/checker/typeops.ml
ocaml
********************************************************************** // * This file is distributed under the terms of the * GNU Lesser General Public License Version 2.1 ********************************************************************** $Id: typeops.ml 9314 2006-10-29 20:...
v * The Coq Proof Assistant / The Coq Development Team < O _ _ _ , , * INRIA - CNRS - LIX - LRI - PPS - Copyright 1999 - 2010 \VV/ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * open Util open Names open Un...
036bbf13a94bab872e9bbbf62db2f7cea69cb806ae9026dc5dc7b889595dfbb6
Frama-C/Frama-C-snapshot
register.ml
(**************************************************************************) (* *) This file is part of Frama - C. (* *) Copyright ...
null
https://raw.githubusercontent.com/Frama-C/Frama-C-snapshot/639a3647736bf8ac127d00ebe4c4c259f75f9b87/src/plugins/variadic/register.ml
ocaml
************************************************************************ alternatives) ...
This file is part of Frama - C. Copyright ( C ) 2007 - 2019 CEA ( Commissariat à l'énergie atomique et aux énergies Lesser General Public License as published by the Free Software Foundation , v...
1622618c15483fea648bac96fa3ee1bfc4fcd02f5d5c390b80ece1223bc5e6dd
quephird/fun-with-quil
spinny-emoticon.clj
(ns fun-with-quil.animations.spinny-emoticon (:require [quil.core :as q :include-macros true])) (defn setup [] (q/smooth) (q/frame-rate 3) (q/text-font (q/create-font "Courier" 48)) ; (q/no-loop) ) (defn draw [] (let [fc (q/frame-count) w (q/width) h (q/height) emoticon-frames [...
null
https://raw.githubusercontent.com/quephird/fun-with-quil/3b3a6885771f5a1a4cffeb8379f05a28048a1616/src/fun_with_quil/animations/spinny-emoticon.clj
clojure
(q/no-loop)
(ns fun-with-quil.animations.spinny-emoticon (:require [quil.core :as q :include-macros true])) (defn setup [] (q/smooth) (q/frame-rate 3) (q/text-font (q/create-font "Courier" 48)) ) (defn draw [] (let [fc (q/frame-count) w (q/width) h (q/height) emoticon-frames ["●ヽ( ・ω・`)ノ●" ...
1e257c1db3f3d5880fefff4c551161711fc3624bb0c82c508f63b94a3d1cdd8a
magnars/optimus
assets.clj
(ns optimus.assets (:require [optimus.assets.creation :refer [load-asset]] [optimus.assets.load-css] [potemkin :refer [import-vars]])) (defmethod load-asset "js" [public-dir path] (optimus.assets.creation/load-text-asset public-dir path)) (defmethod load-asset "html" [public-dir path] (opti...
null
https://raw.githubusercontent.com/magnars/optimus/ac5df602726d255312dfd48cf7ae2e00d99069bd/src/optimus/assets.clj
clojure
(ns optimus.assets (:require [optimus.assets.creation :refer [load-asset]] [optimus.assets.load-css] [potemkin :refer [import-vars]])) (defmethod load-asset "js" [public-dir path] (optimus.assets.creation/load-text-asset public-dir path)) (defmethod load-asset "html" [public-dir path] (opti...
7f08c814ddf58fa2fc542b1411944daad19b7cc8d7aa96a7bb7d1bb9d7eaf025
saleyn/etran
str.erl
%%% vim:ts=2:sw=2:et %%%----------------------------------------------------------------------------- @doc transform that implements ` str/2 ' %%% Use ` { parse_transform , str } ' compiler 's option to use this transform . %%% ``` str(Fmt , ) - > lists : flatten(io_lib : format(Fmt , ) ) throw(Fmt , )...
null
https://raw.githubusercontent.com/saleyn/etran/d77bbc26b886656b5717dae51b2b8ff701c56c60/src/str.erl
erlang
vim:ts=2:sw=2:et ----------------------------------------------------------------------------- ``` i2l(Int) -> integer_to_list(Int) % Enabled with compiled with % the `{d,str_i2l}' option b2l(Bin) -> binary_to_list(Bin) % Enabled with ...
@doc transform that implements ` str/2 ' Use ` { parse_transform , str } ' compiler 's option to use this transform . str(Fmt , ) - > lists : flatten(io_lib : format(Fmt , ) ) throw(Fmt , ) - > erlang : throw(lists : flatten(io_lib : format(Fmt , ) ) error(Fmt , ) - > erlang : error(lists : f...
8811306b636292c003616291aa03bfd67591bd24248b97c4357c61e73c1e5ca1
billstclair/trubanc-lisp
default-implementations.lisp
;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; indent-tabs-mode: nil -*- (in-package #:bordeaux-threads) ;;; Helper macros (defmacro defdfun (name args doc &body body) `(progn ,(unless (fboundp name) `(defun ,name ,args ,@body)) (setf (documentation ',name 'function) (or (documentation '...
null
https://raw.githubusercontent.com/billstclair/trubanc-lisp/5436d2eca5b1ed10bc47eec7080f6cb90f98ca65/systems/bordeaux-threads/src/default-implementations.lisp
lisp
-*- Mode: Lisp; Syntax: ANSI-Common-Lisp; indent-tabs-mode: nil -*- Helper macros Thread Creation Resource contention: locks and recursive locks there's some good reason it should be said structure or that it be freshly consed - EQ comparison of locks? Resource contention: condition variables A condition variab...
(in-package #:bordeaux-threads) (defmacro defdfun (name args doc &body body) `(progn ,(unless (fboundp name) `(defun ,name ,args ,@body)) (setf (documentation ',name 'function) (or (documentation ',name 'function) ,doc)))) (defmacro defdmacro (name args doc &body body) `(progn ,...
6a203d5d0492c477cd5f064f4230980ec1dce208acbdc461ced7f221f9804769
teawaterwire/web4th
todolist.cljs
(ns app.actions.examples.todolist (:require [app.actions.entrypoint :as actions] [reagent.core :as r] [clojure.string :as str])) (defn c-todos [state] (let [items (r/atom (:items state)) update-item (fn [{:keys [time text]}] (if (str/blank? text) (swa...
null
https://raw.githubusercontent.com/teawaterwire/web4th/95e6421657e6a352b685e609f0c4d8404f5f8cb1/src/app/actions/examples/todolist.cljs
clojure
(ns app.actions.examples.todolist (:require [app.actions.entrypoint :as actions] [reagent.core :as r] [clojure.string :as str])) (defn c-todos [state] (let [items (r/atom (:items state)) update-item (fn [{:keys [time text]}] (if (str/blank? text) (swa...
5ba2da2925d92a34e958fdb220e015ebae04dd183bfcfc492f08ff6d1d123f81
nuvla/api-server
nuvlabox_status_1_lifecycle_test.clj
(ns sixsq.nuvla.server.resources.nuvlabox-status-1-lifecycle-test (:require [clojure.data.json :as json] [clojure.test :refer [deftest is use-fixtures]] [peridot.core :refer [content-type header request session]] [ring.util.codec :as rc] [sixsq.nuvla.db.impl :as db] [sixsq.nuvla.server.app.par...
null
https://raw.githubusercontent.com/nuvla/api-server/272c1b8f7a5cd306d01464cf801d6174df146f71/code/test/sixsq/nuvla/server/resources/nuvlabox_status_1_lifecycle_test.clj
clojure
non-admin users cannot create a nuvlabox-status resource admin users can create a nuvlabox-status resource other users cannot see the state nuvlabox user is able to update nuvlabox-status and :resources are rotated verify that the update was written to disk non of the items in the collection contain '-prev' keys ...
(ns sixsq.nuvla.server.resources.nuvlabox-status-1-lifecycle-test (:require [clojure.data.json :as json] [clojure.test :refer [deftest is use-fixtures]] [peridot.core :refer [content-type header request session]] [ring.util.codec :as rc] [sixsq.nuvla.db.impl :as db] [sixsq.nuvla.server.app.par...
b17d267790d5250d1b41a810eb5a7b6c443fc76c0853bacd0eb0ff75dd885639
danilkolikov/dfl
ToSimpleClass.hs
| Module : Frontend . Desugaring . Initial . ToSimpleClass Description : Desugaring of AST nodes to SimpleClass Copyright : ( c ) , 2019 License : MIT Desugaring of AST nodes to objects , representing Module : Frontend.Desugaring.Initial.ToSimpleClass Description : Desuga...
null
https://raw.githubusercontent.com/danilkolikov/dfl/698a8f32e23b381afe803fc0e353293a3bf644ba/src/Frontend/Desugaring/Initial/ToSimpleClass.hs
haskell
| Module : Frontend . Desugaring . Initial . ToSimpleClass Description : Desugaring of AST nodes to SimpleClass Copyright : ( c ) , 2019 License : MIT Desugaring of AST nodes to objects , representing Module : Frontend.Desugaring.Initial.ToSimpleClass Description : Desuga...
4f2f2a6b97c72daf4f0548c9cb7500ba997b15aa89f6c3074b12dd55e9a0fbc5
avsm/eeww
test_user_event.ml
(* TEST include runtime_events *) open Runtime_events (* let's register some custom events *) type User.tag += Libname | Counters of int let event = User.register "libname.event" Libname Type.unit let span = User.register "libname.phase" Libname Type.span let counter = User.register "libname.counter" (Counters 1) T...
null
https://raw.githubusercontent.com/avsm/eeww/4d65720b5dd51376842ffe5c8c220d5329c1dc10/boot/ocaml/testsuite/tests/lib-runtime-events/test_user_event.ml
ocaml
TEST include runtime_events let's register some custom events registering custom events after runtime event started consumer
open Runtime_events type User.tag += Libname | Counters of int let event = User.register "libname.event" Libname Type.unit let span = User.register "libname.phase" Libname Type.span let counter = User.register "libname.counter" (Counters 1) Type.int let counter2 = User.register "libname.counter2" (Counters 2) Type...
72c27ea11eeee6ce24956a1eb07a8db2f3d07f74b9a5da755bb54e4bfe2386c4
atolab/yaks-ocaml
ythrg.ml
open Apero open Yaks_ocaml open Yaks open Yaks.Infix open Lwt.Infix open Cmdliner let addr = Arg.(value & opt string "127.0.0.1" & info ["a"; "addr"] ~docv:"ADDRESS" ~doc:"address") let port = Arg.(value & opt string "7447" & info ["p"; "port"] ~docv:"PORT" ~doc:"port") let samples = Arg.(value & opt int 10000 & info ...
null
https://raw.githubusercontent.com/atolab/yaks-ocaml/cdae19e0bcc315560d352acb57ee9dca2962d7fa/examples/throughput/ythrg.ml
ocaml
performs gets in parallel performs gets in serial
open Apero open Yaks_ocaml open Yaks open Yaks.Infix open Lwt.Infix open Cmdliner let addr = Arg.(value & opt string "127.0.0.1" & info ["a"; "addr"] ~docv:"ADDRESS" ~doc:"address") let port = Arg.(value & opt string "7447" & info ["p"; "port"] ~docv:"PORT" ~doc:"port") let samples = Arg.(value & opt int 10000 & info ...
c9272fe24ac8a5344dda8dd77d9800563daaa822ee16f3ff805842575d2b1dd3
haskus/haskus-system
System.hs
module Haskus.Tests.System where import Test.Tasty import Haskus.Tests.System.Devices testsSystem :: TestTree testsSystem = testGroup "System" [ testsDevices ]
null
https://raw.githubusercontent.com/haskus/haskus-system/38b3a363c26bc4d82e3493d8638d46bc35678616/haskus-system/src/tests/Haskus/Tests/System.hs
haskell
module Haskus.Tests.System where import Test.Tasty import Haskus.Tests.System.Devices testsSystem :: TestTree testsSystem = testGroup "System" [ testsDevices ]
92e60e0c6c8901dd899d4d66f951d73dd00d604ebb5454e79719bc7fa9532ed7
lasp-lang/types
dot_store.erl
%% Copyright ( c ) 2015 - 2016 . All Rights Reserved . %% This file is provided to you under the Apache License , %% Version 2.0 (the "License"); you may not use this file except in compliance with the License . You may obtain %% a copy of the License at %% %% -2.0 %% %% Unless required by applicable law ...
null
https://raw.githubusercontent.com/lasp-lang/types/e35b9b3a32b8f580daff1a7d1102813ad530835e/src/dot_store.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 permissions and limitations under the License. ----------------------------...
Copyright ( c ) 2015 - 2016 . All Rights Reserved . This file is provided to you under the Apache License , except in compliance with the License . You may obtain software distributed under the License is distributed on an " AS IS " BASIS , WITHOUT WARRANTIES OR CONDITIONS OF ANY @doc DotStores : ...
3cb66a6851e79cae62272d458e1dec2ddbe10dbff1e905bf198c3c9f22c1e180
dgiot/dgiot
dgiot_modbusc_channel.erl
%%-------------------------------------------------------------------- Copyright ( c ) 2020 - 2021 DGIOT Technologies Co. , Ltd. 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...
null
https://raw.githubusercontent.com/dgiot/dgiot/a6b816a094b1c9bd024ce40b8142375a0f0289d8/apps/dgiot_modbus/src/dgiot_modbusc_channel.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 ) 2020 - 2021 DGIOT Technologies Co. , Ltd. 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(dgiot_modbusc_channel). -behavior(dgiot_channelx). -include("dgiot_modbus.hrl"). -inclu...
2f7941adedc13ae268599278acb6c2e2088d3479365ba5735321b4a1f36f6db4
mikera/core.matrix
life.clj
(ns clojure.core.matrix.demo.life "Demonstration of Game of Life implementation using core.matrix" (:require [clojure.core.matrix :refer :all])) We represent the state of the world as a grid stored in a 10 x 10 matrix ;; 0 = dead cell ;; 1 = live cell (def grid (array [[0 0 0 0 0 0 0 0 0 0 0] [0...
null
https://raw.githubusercontent.com/mikera/core.matrix/0a35f6e3d6d2335cb56f6f3e5744bfa1dd0390aa/src/test/clojure/clojure/core/matrix/demo/life.clj
clojure
0 = dead cell 1 = live cell set of offsets to neighbouring cells rotate the grid using these offsets note that you can use `shift` instead of `rotate` if you don't want a wraparound grid now sum up the rotated grids use element if to branch on the current state of each cell
(ns clojure.core.matrix.demo.life "Demonstration of Game of Life implementation using core.matrix" (:require [clojure.core.matrix :refer :all])) We represent the state of the world as a grid stored in a 10 x 10 matrix (def grid (array [[0 0 0 0 0 0 0 0 0 0 0] [0 0 0 0 0 0 0 0 0 0 0] [0 0 0...
c98571d41413e090921100fdd7fd6ad2a307a808c7683bcaae9b24a263a5c556
samoht/camloo
syntax.scm
;; Le module (module __caml_syntax (library camloo-runtime) (import __caml_const __caml_location __caml_globals) (export (free_vars_of_pat_1@syntax x1) (expr_is_pure_5@syntax x1) (letdef_is_pure_151@syntax x1))) L'initialisation du module (init_camloo!) ;; Les variables globales ;...
null
https://raw.githubusercontent.com/samoht/camloo/29a578a152fa23a3125a2a5b23e325b6d45d3abd/src/camloo/Llib.bootstrap/syntax.scm
scheme
Le module Les variables globales Les expressions globales
(module __caml_syntax (library camloo-runtime) (import __caml_const __caml_location __caml_globals) (export (free_vars_of_pat_1@syntax x1) (expr_is_pure_5@syntax x1) (letdef_is_pure_151@syntax x1))) L'initialisation du module (init_camloo!) (define (free_vars_of_pat_1@syntax x1) (...
b359891b3f4812602b87cc212937e0043d34e80cbabd96feff25d5eb8dc86d25
VoltDB/voltdb-client-erlang
parallel_pre3.erl
%%%-------------------------------------------------------------------------%%% %%% File : examples/parallel.erl %%% Version : 0.3 / beta % % % %%% Description : Erlang VoltDB driver parallel 'Hello, world!' example ...
null
https://raw.githubusercontent.com/VoltDB/voltdb-client-erlang/606ee807248f9fb7beaca982ae159d1becdf25d2/examples/parallel_pre3.erl
erlang
-------------------------------------------------------------------------%%% File : examples/parallel.erl %%% % % Description : Erlang VoltDB driver parallel 'Hello, world!' example %%% % % Production : Eonblast Corporation - %%% % % % % % % % % -----...
-module(parallel_pre3). -export([run/0]). -include("erlvolt.hrl"). run() -> io:format("~n~nParallel Sample pre VoltDB 3.0 (Different Hello World Sample Table)~n"), io:format("-----------------------------------------------------------------------~n"), io:format("I. start~n"), crypto:start(), ...
1d89d6a3d01e210910c4db92d974b83d53db33ff12509c27be27e7f5c8d287b0
hden/duct.database.datomic
project.clj
(defproject hden/duct.database.datomic "0.3.1" :description "Integrant methods for connecting to a Datomic Cloud database" :url "" :license {:name "EPL-2.0" :url "-2.0/"} :repositories [["datomic-cloud" {:url "s3-releases-1fc2183a/maven/releases"}]] :managed-dependencies [[com.datomic/client-cloud...
null
https://raw.githubusercontent.com/hden/duct.database.datomic/742e030aab8bcbbd3f97930002cbf73603f78861/project.clj
clojure
(defproject hden/duct.database.datomic "0.3.1" :description "Integrant methods for connecting to a Datomic Cloud database" :url "" :license {:name "EPL-2.0" :url "-2.0/"} :repositories [["datomic-cloud" {:url "s3-releases-1fc2183a/maven/releases"}]] :managed-dependencies [[com.datomic/client-cloud...
d985cf53d01d83ae32528c3a859441556c36e2ad9b17c4b399393e0e7f9981f0
maximedenes/native-coq
coqdep_common.mli
(************************************************************************) v * The Coq Proof Assistant / The Coq Development Team < O _ _ _ , , * INRIA - CNRS - LIX - LRI - PPS - Copyright 1999 - 2010 \VV/ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *...
null
https://raw.githubusercontent.com/maximedenes/native-coq/3623a4d9fe95c165f02f7119c0e6564a83a9f4c9/tools/coqdep_common.mli
ocaml
********************************************************************** // * This file is distributed under the terms of the * GNU Lesser General Public License Version 2.1 **********************************************************************
v * The Coq Proof Assistant / The Coq Development Team < O _ _ _ , , * INRIA - CNRS - LIX - LRI - PPS - Copyright 1999 - 2010 \VV/ * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * val option_c : bool ref val o...
f1f4fef0b134cc94c4352e2932de6a339f3e0dd42b5c992275900ea504506e7e
BenjaminVanRyseghem/great-things-done
toolbar.cljs
Copyright ( c ) 2015 , . 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 ; t...
null
https://raw.githubusercontent.com/BenjaminVanRyseghem/great-things-done/1db9adc871556a347426df842a4f5ea6b3a1b7e0/src/front/ui/main/toolbar.cljs
clojure
The use and distribution terms for this software are covered by the which can be found in the file epl-v10.html at the root of this distribution. By using this software in any fashion, you are agreeing to be bound by the terms of this license. You must not remove this notice, or any other, from this software. sho...
Copyright ( c ) 2015 , . All rights reserved . Eclipse Public License 1.0 ( -1.0.php ) (ns ui.main.toolbar (:require [gtd.state :as state] [ui.widgets.tasks :as tasks] [ui.main :as main] [ui.widgets.move-dialog :as move-dialog])) (defn new-task [project selected-task-ato...
8cde1c4c77632c0564f52e2abb8674e60f474cd9a91c9113ef480e81677bba93
dustin/gopro
Interactive.hs
module GoPro.Interactive where import GoPro.Commands | A convenience function for performing GoPro actions from within GHCI . interactively :: String -> GoPro a -> IO a interactively dbp a = runWithOptions defaultOptions{optDBPath=dbp} a
null
https://raw.githubusercontent.com/dustin/gopro/a6f91f91f33c3f369efbf1c6b55de98a2aeea5ea/src/GoPro/Interactive.hs
haskell
module GoPro.Interactive where import GoPro.Commands | A convenience function for performing GoPro actions from within GHCI . interactively :: String -> GoPro a -> IO a interactively dbp a = runWithOptions defaultOptions{optDBPath=dbp} a
c93ef2c54863f9494481dce68e0d9f8d172fc87de6acca59397b666879d95f60
ocaml-multicore/reagents
ref.mli
* Copyright ( c ) 2015 , < > * Copyright ( c ) 2015 , < > * * Permission to use , copy , modify , and/or distribute this software for any * purpose with or without fee is hereby granted , provided that the above * copyright notice and this permission notice appear in all copies . * * THE S...
null
https://raw.githubusercontent.com/ocaml-multicore/reagents/6721db78b21028c807fb13d0af0aaf9407c662b5/lib/ref.mli
ocaml
* Copyright ( c ) 2015 , < > * Copyright ( c ) 2015 , < > * * Permission to use , copy , modify , and/or distribute this software for any * purpose with or without fee is hereby granted , provided that the above * copyright notice and this permission notice appear in all copies . * * THE S...
a128baa69d3d2b395b410ae63ad618c48540efe546db13e7c8d314d249fd94e2
bluemont/kria
commit_hook.clj
(ns kria.pb.commit-hook (:require [kria.conversions :refer [utf8-string<-byte-string byte-string<-utf8-string]] [kria.pb.mod-fun :refer [ModFun->pb pb->ModFun]]) (:import [com.basho.riak.protobuf RiakPB$RpbCommitHook])) (set! *warn-on-reflection* true) (defrecord CommitHo...
null
https://raw.githubusercontent.com/bluemont/kria/8ed7fb1ebda8bfa1a2a6d7a3acf05e2255fcf0f0/src/clojure/kria/pb/commit_hook.clj
clojure
optional RpbModFun optional bytes
(ns kria.pb.commit-hook (:require [kria.conversions :refer [utf8-string<-byte-string byte-string<-utf8-string]] [kria.pb.mod-fun :refer [ModFun->pb pb->ModFun]]) (:import [com.basho.riak.protobuf RiakPB$RpbCommitHook])) (set! *warn-on-reflection* true) (defrecord CommitHo...
41beefac384abc6bb8918ed82edd5a772d954c669d570277f91d3f9a4c3bae1d
lamdu/lamdu
Actions.hs
# LANGUAGE TypeFamilies , TypeApplications , ScopedTypeVariables # module Lamdu.Sugar.Convert.Expression.Actions ( addActions, makeActions, makeApply ) where import Control.Applicative ((<|>)) import qualified Control.Lens.Extended as Lens import Control.Monad.Once (OnceT) import ...
null
https://raw.githubusercontent.com/lamdu/lamdu/cec66e24de5c49ee8ba81c43e590327a0408ea77/src/Lamdu/Sugar/Convert/Expression/Actions.hs
haskell
Give entire binder body a name (replace binder body Give some subexpr in binder body a name (replace stored becomes "x") prefer wrapping outside then wrapping inside then both * Replace-parent with fragment sets directly to fragment expression * Replace-parent of fragment expr without "heal" available - repl...
# LANGUAGE TypeFamilies , TypeApplications , ScopedTypeVariables # module Lamdu.Sugar.Convert.Expression.Actions ( addActions, makeActions, makeApply ) where import Control.Applicative ((<|>)) import qualified Control.Lens.Extended as Lens import Control.Monad.Once (OnceT) import ...
32a92c1235cca5e8acb05337987f3257a7043b1fda0a97e84236bd418471a672
shonfeder/alg_structs
functor.mli
* An interface for types that can be mapped over . All you need to know to use this module effectively : given [ type ' a t ] , function [ map : f:('a - > ' b ) - > ' a t - > ' b t ] will { i map } [ f ] " over " [ t ] by taking a value of type [ ' a t ] to a value of type [ ' b t ] . E...
null
https://raw.githubusercontent.com/shonfeder/alg_structs/09a57285ffae77dce2d2dd0581a0d453d31fb332/lib/functor.mli
ocaml
* {1 Seed} * The [Seed] needed to generate an implementation of {{!module-type:S} Functor}. * The principle type. The type constructor [t] is the mapping of objects taking every type ['a] to a type ['a t]. * [map ~f] maps the function [f : 'a -> 'b] to a function ['f T : 'a T -> 'b T]. ...
* An interface for types that can be mapped over . All you need to know to use this module effectively : given [ type ' a t ] , function [ map : f:('a - > ' b ) - > ' a t - > ' b t ] will { i map } [ f ] " over " [ t ] by taking a value of type [ ' a t ] to a value of type [ ' b t ] . E...
ce77735147d023534994f8bddfc78c1127974ca98bebc063eeba5457372079a6
karamellpelle/grid
Foreign.hs
grid is a game written in Haskell Copyright ( C ) 2018 -- -- This file is part of grid. -- -- grid is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation , either version 3 of the License , or -- (at your optio...
null
https://raw.githubusercontent.com/karamellpelle/grid/56729e63ed6404fd6cfd6d11e73fa358f03c386f/source/Game/Run/Iteration/Foreign.hs
haskell
This file is part of grid. grid is free software: you can redistribute it and/or modify (at your option) any later version. grid is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GN...
grid is a game written in Haskell Copyright ( C ) 2018 it under the terms of the GNU General Public License as published by the Free Software Foundation , either version 3 of the License , or You should have received a copy of the GNU General Public License module Game.Run.Iteration.Foreign ( iteration...
c433f27a030f2f220fc7d91a7a7e1b0286052831f9c43c3f99e24bcece198925
racket/typed-racket
signature-prims.rkt
#lang racket/base ;; This file implements unit signatures for typed racket (provide define-signature) (require "../utils/utils.rkt" "colon.rkt" (for-syntax syntax/parse racket/base racket/list racket/syntax syntax/k...
null
https://raw.githubusercontent.com/racket/typed-racket/6ea20bec8d41e1a188d7f831c35423293a89c98e/typed-racket-lib/typed-racket/base-env/signature-prims.rkt
racket
This file implements unit signatures for typed racket TODO: there should be a more extensible way of handling signatures The define-type form is explicitly disallowed until I can figure out how to sensibly support them in signature definitions - dfeltey Preliminary support for type definitions in signatures The f...
#lang racket/base (provide define-signature) (require "../utils/utils.rkt" "colon.rkt" (for-syntax syntax/parse racket/base racket/list racket/syntax syntax/kerncase "../private/syntax-propertie...
c07d06b59cc86a7a0810355eedd431ed8d32708654a2087b7156638ed8167749
abailly/xxi-century-typed
Purer.hs
# LANGUAGE GeneralizedNewtypeDeriving # module Minilang.REPL.Purer where import Control.Monad.Catch import Control.Monad.Catch.Pure (CatchT (..)) import Control.Monad.State import Minilang.REPL.Types import Minilang.Type data PurerEnv = PurerEnv { inputs :: [...
null
https://raw.githubusercontent.com/abailly/xxi-century-typed/41faf299f8841b6e6f6048a33bd236fff3e3d28f/minilang/src/Minilang/REPL/Purer.hs
haskell
# LANGUAGE GeneralizedNewtypeDeriving # module Minilang.REPL.Purer where import Control.Monad.Catch import Control.Monad.Catch.Pure (CatchT (..)) import Control.Monad.State import Minilang.REPL.Types import Minilang.Type data PurerEnv = PurerEnv { inputs :: [...
10160fd1e5401b4bc3dc0b23be5bf50d06ce61a57c394f8bf439d3b89cf18794
mcorbin/tour-of-clojure
lazy.clj
(ns tourofclojure.pages.lazy (:require [hiccup.element :refer [link-to]] [clojure.java.io :as io] [tourofclojure.pages.util :refer [navigation-block]])) (def code (slurp (io/resource "public/pages/code/lazy.clj"))) (defn desc [previous next lang] (condp = lang "fr" [:div ...
null
https://raw.githubusercontent.com/mcorbin/tour-of-clojure/57f97b68ca1a8c96904bfb960f515217eeda24a6/src/tourofclojure/pages/lazy.clj
clojure
(ns tourofclojure.pages.lazy (:require [hiccup.element :refer [link-to]] [clojure.java.io :as io] [tourofclojure.pages.util :refer [navigation-block]])) (def code (slurp (io/resource "public/pages/code/lazy.clj"))) (defn desc [previous next lang] (condp = lang "fr" [:div ...
5998c584a1fe0c43ed3924202ef17090ad3dc7c0eedda2526c8a071c42717ef7
erlangonrails/devdb
json_pp.erl
%% ------------------------------------------------------------------- %% %% riak_core: Core Riak Application %% Copyright ( c ) 2007 - 2010 Basho Technologies , Inc. All Rights Reserved . %% This file is provided to you under the Apache License , %% Version 2.0 (the "License"); you may not use this file except...
null
https://raw.githubusercontent.com/erlangonrails/devdb/0e7eaa6bd810ec3892bfc3d933439560620d0941/dev/riak_core/src/json_pp.erl
erlang
------------------------------------------------------------------- riak_core: Core Riak Application 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 sp...
Copyright ( c ) 2007 - 2010 Basho Technologies , Inc. All Rights Reserved . This file is provided to you under the Apache License , except in compliance with the License . You may obtain software distributed under the License is distributed on an " AS IS " BASIS , WITHOUT WARRANTIES OR CONDITIONS OF ANY -...
fdb5830ae51184ecb24ddd036bfb4e680f664675a10bcde34e1581cf04446a28
FlowForwarding/LINC-Switch
linc_us4_oe_port.erl
%%------------------------------------------------------------------------------ Copyright 2012 FlowForwarding.org %% 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 %%...
null
https://raw.githubusercontent.com/FlowForwarding/LINC-Switch/9c28e7c8677c03440a62023292dd700fef0c3420/apps/linc_us4_oe/src/linc_us4_oe_port.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, eithe...
Copyright 2012 FlowForwarding.org Licensed under the Apache License , Version 2.0 ( the " License " ) ; distributed under the License is distributed on an " AS IS " BASIS , @author Erlang Solutions Ltd. < > 2012 FlowForwarding.org TAP stack . It provides Open Flow ports represented as gen_server processe...
f1c6ae64f035bf4a94b47ca6cd986091b8a53426464b822a025a4bab2f8374bb
Beluga-lang/Beluga
holeId.ml
type t = int let of_int x = x module Make () = struct let counter = ref 0 let next () = let x = !counter in incr counter; x end let string_of_hole_id = string_of_int type name = | Anonymous | Named of string let is_anonymous = function | Anonymous -> true | _ -> false let name_of_option ...
null
https://raw.githubusercontent.com/Beluga-lang/Beluga/4769323d701722bde42a0e2570d892ef78cd2d04/src/core/holeId.ml
ocaml
type t = int let of_int x = x module Make () = struct let counter = ref 0 let next () = let x = !counter in incr counter; x end let string_of_hole_id = string_of_int type name = | Anonymous | Named of string let is_anonymous = function | Anonymous -> true | _ -> false let name_of_option ...
3a5e67ddb8da03c747d60c9cac4eb077c61ed5d2aa1e3cbbda20aebb2ef2749a
expipiplus1/vulkan
SubpassContents.hs
{-# language CPP #-} No documentation found for Chapter " SubpassContents " module Vulkan.Core10.Enums.SubpassContents (SubpassContents( SUBPASS_CONTENTS_INLINE , SUBPASS_CONTENTS_SECONDARY_COMMAND_BUFFERS ...
null
https://raw.githubusercontent.com/expipiplus1/vulkan/ebc0dde0bcd9cf251f18538de6524eb4f2ab3e9d/src/Vulkan/Core10/Enums/SubpassContents.hs
haskell
# language CPP # render pass are provided = See Also <-extensions/html/vkspec.html#VK_VERSION_1_0 VK_VERSION_1_0>, will be recorded inline in the primary command buffer, and secondary | 'SUBPASS_CONTENTS_SECONDARY_COMMAND_BUFFERS' specifies that the contents are recorded in secondary command buffers that will b...
No documentation found for Chapter " SubpassContents " module Vulkan.Core10.Enums.SubpassContents (SubpassContents( SUBPASS_CONTENTS_INLINE , SUBPASS_CONTENTS_SECONDARY_COMMAND_BUFFERS , .. ...
0be55b4cc49679ee05bf7e17a7cbd74710fdc221b96bd32f1aa4ddb7413b58a6
patricoferris/ocaml-multicore-monorepo
mirage_crypto_rng_unix.mli
* { b RNG } seeding on { b Unix } . This module initializes a Fortuna RNG with [ getrandom ( ) ] , and CPU RNG . On BSD systems ( FreeBSD , OpenBSD , macOS ) [ ( ) ] is used instead of [ getrandom ( ) ] . On Windows 10 or higher , [ BCryptGenRandom ( ) ] is used with the default RNG . Windows ...
null
https://raw.githubusercontent.com/patricoferris/ocaml-multicore-monorepo/22b441e6727bc303950b3b37c8fbc024c748fe55/duniverse/mirage-crypto/rng/unix/mirage_crypto_rng_unix.mli
ocaml
* [getrandom size] returns a buffer of [size] filled with random bytes.
* { b RNG } seeding on { b Unix } . This module initializes a Fortuna RNG with [ getrandom ( ) ] , and CPU RNG . On BSD systems ( FreeBSD , OpenBSD , macOS ) [ ( ) ] is used instead of [ getrandom ( ) ] . On Windows 10 or higher , [ BCryptGenRandom ( ) ] is used with the default RNG . Windows ...
085ced4c05de523f8f1b33537b11534fce656c0f5d8f9db2b93871627c595832
alxlit/autoclave
html.clj
(ns autoclave.html "Wraps the OWASP HTML Sanitizer library." (:require [clojure.string :as string]) (:import [org.owasp.html AttributePolicy ElementPolicy HtmlPolicyBuilder HtmlSanitizer HtmlSanitizer$Policy PolicyFactory Sanitizers])) (defn...
null
https://raw.githubusercontent.com/alxlit/autoclave/6bcc149e4de954ba61e171aa3bb241beef948277/src/autoclave/html.clj
clojure
unknown option unknown option
(ns autoclave.html "Wraps the OWASP HTML Sanitizer library." (:require [clojure.string :as string]) (:import [org.owasp.html AttributePolicy ElementPolicy HtmlPolicyBuilder HtmlSanitizer HtmlSanitizer$Policy PolicyFactory Sanitizers])) (defn...
3cfd5ae43ecfb83f639f24503f4da8183991a54c758ef4263ed4c7390b2fe8a6
calvis/cKanren
absento.rkt
#lang racket (require "../ck.rkt" "../absento.rkt" "../attributes.rkt" "../tree-unify.rkt" "../neq.rkt" "../tester.rkt") (provide test-absento test-absento-long) (define (test-absento) (test (run* (q) (absento q q)) '()) (test (run* (q) (absento q 5)) '((_.0 : (=/= ((_.0 . 5)))))) (test ...
null
https://raw.githubusercontent.com/calvis/cKanren/8714bdd442ca03dbf5b1d6250904cbc5fd275e68/cKanren/tests/absento.rkt
racket
this line is hard I guess missing this
#lang racket (require "../ck.rkt" "../absento.rkt" "../attributes.rkt" "../tree-unify.rkt" "../neq.rkt" "../tester.rkt") (provide test-absento test-absento-long) (define (test-absento) (test (run* (q) (absento q q)) '()) (test (run* (q) (absento q 5)) '((_.0 : (=/= ((_.0 . 5)))))) (test ...
b5907a406c34452a38c2ca5603bcc20836e8ab410b6bb72616eb8b7681477e74
exercism/babashka
sieve_test.clj
(ns sieve-test (:require [clojure.test :refer [deftest is]] [sieve :refer [sieve]])) (deftest a-few-primes (is (= [2 3 5 7] (sieve 10)))) (deftest test-prime-limit (is (= [2 3 5 7] (sieve 7)))) (deftest more-primes (is (= [2 3 5 7 11 13 17 19 23 29 31 37 41 43 47 53 59 61 67 71 73 79 83 89 ...
null
https://raw.githubusercontent.com/exercism/babashka/7375f1938ff95b242320313eaeedb8eca31a1b5b/exercises/practice/sieve/test/sieve_test.clj
clojure
(ns sieve-test (:require [clojure.test :refer [deftest is]] [sieve :refer [sieve]])) (deftest a-few-primes (is (= [2 3 5 7] (sieve 10)))) (deftest test-prime-limit (is (= [2 3 5 7] (sieve 7)))) (deftest more-primes (is (= [2 3 5 7 11 13 17 19 23 29 31 37 41 43 47 53 59 61 67 71 73 79 83 89 ...
b2ed994eaa2e8134bad05695b6a92c8197b6fa8a8992ba05a02969b72874f425
joinr/spork
tests.clj
;;A testing suite for all things graph related. (ns spork.cljgraph.tests (:require [clojure.test :refer :all] [spork.cljgraph.core :refer :all] [spork.cljgraph.flow :refer :all])) ;;helper macro for some error catching I want to ensure. (defmacro get-error [expr] `(try (do ~expr nil) ...
null
https://raw.githubusercontent.com/joinr/spork/bb80eddadf90bf92745bf5315217e25a99fbf9d6/src/spork/cljgraph/tests.clj
clojure
A testing suite for all things graph related. helper macro for some error catching I want to ensure. a tree of elements: a b c d e f g h i j k l m n o p q r s t u v w x y z a1 a2 a3 used for testing topsort a directed graph... ...
(ns spork.cljgraph.tests (:require [clojure.test :refer :all] [spork.cljgraph.core :refer :all] [spork.cljgraph.flow :refer :all])) (defmacro get-error [expr] `(try (do ~expr nil) (catch Exception ~'e ~'e))) (defn ->tree-arc [from to] [from to 1]) (defn tree-arcs [from xs] (map #(...
75fcad6925866dcbbc5f6ca0b35b7d041c23539e4d5cdd1986694ac22dae8c9c
brendanhay/terrafomo
Types.hs
-- This module was auto-generated. If it is modified, it will not be overwritten. -- | Module : . PagerDuty . Types Copyright : ( c ) 2017 - 2018 License : Mozilla Public License , v. 2.0 . Maintainer : < brendan.g.hay+ > -- Stability : auto-generated Portability : non - portable ( GHC...
null
https://raw.githubusercontent.com/brendanhay/terrafomo/387a0e9341fb9cd5543ef8332dea126f50f1070e/provider/terrafomo-pagerduty/src/Terrafomo/PagerDuty/Types.hs
haskell
This module was auto-generated. If it is modified, it will not be overwritten. | Stability : auto-generated import Formatting (Format, (%))
Module : . PagerDuty . Types Copyright : ( c ) 2017 - 2018 License : Mozilla Public License , v. 2.0 . Maintainer : < brendan.g.hay+ > Portability : non - portable ( GHC extensions ) module Terrafomo.PagerDuty.Types where import Data . Text ( Text ) import Terrafomo import Terr...
ec205715c0b0b9250a111ae7d9f843bca072b067419606ae1e726cf6380b0f6a
Octachron/olivine
type.ml
module Aliases= struct module L = Info.Linguistic module B = Lib module Ty = B.Ty module H = Ast_helper module C = Common end open Aliases open Utils let (#?) = B.(#?) let typ ?par ?name = Inspect.prefix typ ?par ?name let tyvar ?(post=[]) ?par types name = let name, post = match types#?(name) with | S...
null
https://raw.githubusercontent.com/Octachron/olivine/e93df595ad1e8bad5a8af689bac7d150753ab9fb/aster/type.ml
ocaml
module Aliases= struct module L = Info.Linguistic module B = Lib module Ty = B.Ty module H = Ast_helper module C = Common end open Aliases open Utils let (#?) = B.(#?) let typ ?par ?name = Inspect.prefix typ ?par ?name let tyvar ?(post=[]) ?par types name = let name, post = match types#?(name) with | S...
85e79359e1813bb868f318d342dc5e17731452e0f01cef0dcd53d3011f5db355
ludwigpacifici/saumon
repl.ml
open Core let ps1 elapsed errored counter exe_name = let l1 = "┏━━┫ ⮝ elapsed: " ^ elapsed ^ " ┣━━┫ ⮝ errored: " ^ Bool.to_string errored ^ " ┣━━┫ counter: " ^ Int.to_string counter ^ " ┃" in let l2 = "┗ " ^ exe_name ^ " ><> " in Out_channel.print_endline l1 ; Out_channel.print_string l2 ; Out_ch...
null
https://raw.githubusercontent.com/ludwigpacifici/saumon/e8a05216ffae5a58ce3ceed5ae3e989b81930ed5/bin/repl.ml
ocaml
open Core let ps1 elapsed errored counter exe_name = let l1 = "┏━━┫ ⮝ elapsed: " ^ elapsed ^ " ┣━━┫ ⮝ errored: " ^ Bool.to_string errored ^ " ┣━━┫ counter: " ^ Int.to_string counter ^ " ┃" in let l2 = "┗ " ^ exe_name ^ " ><> " in Out_channel.print_endline l1 ; Out_channel.print_string l2 ; Out_ch...
40e0de9803154771c6e32bcd1ed9ff8a4f528f402d52835d72c1234b5bc77225
ferdinand-beyer/vscode-babashka-tasks
core.cljs
(ns babashka-tasks.core (:require ["util" :as util] ["vscode" :as vscode] [applied-science.js-interop :as j] [clojure.edn :as edn] [clojure.string :as str] [promesa.core :as p])) (def task-type "babashka") (defn ^:export reload [] (j/call js/console :log...
null
https://raw.githubusercontent.com/ferdinand-beyer/vscode-babashka-tasks/d7209112aa8a42d842e138c253cae691e78e9f61/src/babashka_tasks/core.cljs
clojure
TODO: Smarter updates?
(ns babashka-tasks.core (:require ["util" :as util] ["vscode" :as vscode] [applied-science.js-interop :as j] [clojure.edn :as edn] [clojure.string :as str] [promesa.core :as p])) (def task-type "babashka") (defn ^:export reload [] (j/call js/console :log...
8d1f87ef9646c67f27aff770c97a3240e0a18d4e6e8280c3918f43977956a004
conal/lambda-ccc
NormalizeCore.hs
# LANGUAGE CPP # # LANGUAGE ViewPatterns , PatternGuards # # LANGUAGE FlexibleContexts , ConstraintKinds # {-# LANGUAGE Rank2Types #-} # OPTIONS_GHC -Wall # # OPTIONS_GHC -fno - warn - unused - imports # { - # OPTIONS_GHC -fno - warn - unused - binds # - } -- TEMP ------------------------------------------------...
null
https://raw.githubusercontent.com/conal/lambda-ccc/141a713456d447d27dbe440fa27a9372cd44dc7f/src/LambdaCCC/Unused/NormalizeCore.hs
haskell
# LANGUAGE Rank2Types # TEMP -------------------------------------------------------------------- | Module : LambdaCCC.NormalizeCore Maintainer : Stability : experimental Transform away all non-standard types -------------------------------------------------------------------- TODO: explicit expo...
# LANGUAGE CPP # # LANGUAGE ViewPatterns , PatternGuards # # LANGUAGE FlexibleContexts , ConstraintKinds # # OPTIONS_GHC -Wall # # OPTIONS_GHC -fno - warn - unused - imports # Copyright : ( c ) 2014 Tabula , Inc. module LambdaCCC.NormalizeCore where import Prelude hiding (id,(.),(>>)) import qualified Prelud...
d295cfe975562e7b60ef85ddf66a7077e2eac0913def1fe074288839556ef424
ucsd-progsys/nate
slave.ml
(***********************************************************************) (* *) MLTk , Tcl / Tk interface of Objective Caml (* *) , , and ...
null
https://raw.githubusercontent.com/ucsd-progsys/nate/8b1267cd8b10283d8bc239d16a28c654a4cb8942/eval/sherrloc/easyocaml%2B%2B/otherlibs/labltk/support/slave.ml
ocaml
********************************************************************* described in file LICENSE found in the...
MLTk , Tcl / Tk interface of Objective Caml , , and projet Cristal , INRIA Rocquencourt , Kyoto University RIMS Copyright 2002 Institut National de Recherche en Informatique et en Automatique and...
4b75b593d89b14b8a71f159f4f24d75717ed64e6646def46b25cc15cd041e691
dmitryvk/sbcl-win32-threads
serve-event.lisp
This software is part of the SBCL system . See the README file for ;;;; more information. ;;;; This software is derived from the CMU CL system , which was written at Carnegie Mellon University and released into the ;;;; public domain. The software is in the public domain and is ;;;; provided with absolutely no wa...
null
https://raw.githubusercontent.com/dmitryvk/sbcl-win32-threads/5abfd64b00a0937ba2df2919f177697d1d91bde4/src/code/serve-event.lisp
lisp
more information. public domain. The software is in the public domain and is provided with absolutely no warranty. See the COPYING and CREDITS files for more information. file descriptor I/O noise Reading or writing... File descriptor this handler is tied to. T iff this handler is running. FIXME: unused. At ...
This software is part of the SBCL system . See the README file for This software is derived from the CMU CL system , which was written at Carnegie Mellon University and released into the (in-package "SB!IMPL") (defstruct (handler (:constructor make-handler (direction descriptor function)) ...
afa824e383c8d0e21d5d259a4ced9d2c027d635a76b77caa5580dbd2f8269668
Kappa-Dev/KappaTools
composite_domain.mli
* composite_domain.mli * openkappa * , projet Abstraction , INRIA Paris - Rocquencourt * * Creation : 2016 , the 30th of January * Last modification : Time - stamp : < Aug 17 2018 > * * Compute the relations between sites in the BDU data structures * * Copyright 2010,2011,2...
null
https://raw.githubusercontent.com/Kappa-Dev/KappaTools/eef2337e8688018eda47ccc838aea809cae68de7/core/KaSa_rep/reachability_analysis/composite_domain.mli
ocaml
* composite abstract domain (no longer with communications which have been internalized)
* composite_domain.mli * openkappa * , projet Abstraction , INRIA Paris - Rocquencourt * * Creation : 2016 , the 30th of January * Last modification : Time - stamp : < Aug 17 2018 > * * Compute the relations between sites in the BDU data structures * * Copyright 2010,2011,2...
eac06831e694e0e3c82bc7c41fecdd4681f84e603ed5648ae4534dc9f51b2949
acl2/acl2
for-loop.cpp.ref.ast.lsp
(funcdef foo () (block (declare res 0) (for ((declare i 0) (log< i 5) (+ i 1)) (block (assign res (+ res i)))) (return res)))
null
https://raw.githubusercontent.com/acl2/acl2/c2d69bad0ed3132cc19a00cb632de8b73558b1f9/books/projects/rac/tests/yaml_test/control_flow/for-loop.cpp.ref.ast.lsp
lisp
(funcdef foo () (block (declare res 0) (for ((declare i 0) (log< i 5) (+ i 1)) (block (assign res (+ res i)))) (return res)))
c1dace74c9959dbf5c1d6388a4ce45adb486b13b1e812004db62c863186c7fb1
ghc/packages-Cabal
Prog.hs
module Prog (main) where import Sig main = print foo
null
https://raw.githubusercontent.com/ghc/packages-Cabal/6f22f2a789fa23edb210a2591d74ea6a5f767872/cabal-testsuite/PackageTests/Regression/T5677/prog/src/Prog.hs
haskell
module Prog (main) where import Sig main = print foo
a7d5bf5b034f0a4b81cbb34f4cbe1ad8d92a082aa2a66e41fcdd46a5e22fd143
haskell-unordered-containers/hashable
Properties.hs
# LANGUAGE BangPatterns , CPP , GeneralizedNewtypeDeriving , MagicHash , Rank2Types , UnboxedTuples # Rank2Types, UnboxedTuples #-} # LANGUAGE DeriveGeneric , ScopedTypeVariables # -- | QuickCheck tests for the 'Data.Hashable' module. We test functions by comparing the C and implementations . module Pro...
null
https://raw.githubusercontent.com/haskell-unordered-containers/hashable/c210cd82dac6b425f9e066785e3981ff47ddebff/tests/Properties.hs
haskell
| QuickCheck tests for the 'Data.Hashable' module. We test ---------------------------------------------------------------------- * Properties versions. | Content equality implies hash equality. | Content equality implies hash equality. | A small positive integer. | Ensure that the rechunk function causes a rec...
# LANGUAGE BangPatterns , CPP , GeneralizedNewtypeDeriving , MagicHash , Rank2Types , UnboxedTuples # Rank2Types, UnboxedTuples #-} # LANGUAGE DeriveGeneric , ScopedTypeVariables # functions by comparing the C and implementations . module Properties (properties) where import Data.Hashable (Hashable, has...
52ae26687be5e646dcf905c2e3407a0437c500b95f1f18a5ac48c74de1605833
BranchTaken/Hemlock
option.ml
open Rudiments0 module T = struct type 'a t = 'a option = | None | Some of 'a type 'a elm = 'a let hash_fold hash_fold_a t state = match t with | None -> state |> Uns.hash_fold 0L | Some a -> state |> Uns.hash_fold 1L |> hash_fold_a a let cmp cmp_a t0 t1 = let open Cmp in match t0...
null
https://raw.githubusercontent.com/BranchTaken/Hemlock/25a3fce449caa06ad46db351efcfb428f423184d/bootstrap/src/basis/option.ml
ocaml
== is excessively vague in OCaml.
open Rudiments0 module T = struct type 'a t = 'a option = | None | Some of 'a type 'a elm = 'a let hash_fold hash_fold_a t state = match t with | None -> state |> Uns.hash_fold 0L | Some a -> state |> Uns.hash_fold 1L |> hash_fold_a a let cmp cmp_a t0 t1 = let open Cmp in match t0...
38346437cc8f080debd269fbfdc1403dc3873cc6547f8882a10acbb6353fe243
NorfairKing/validity
Time.hs
# OPTIONS_GHC -fno - warn - dodgy - exports # module Data.GenValidity.Time ( module X, ) where import Data.GenValidity.Time.Calendar as X import Data.GenValidity.Time.Clock as X () import Data.GenValidity.Time.Format as X () import Data.GenValidity.Time.LocalTime as X ()
null
https://raw.githubusercontent.com/NorfairKing/validity/86a824729519c154c23f0757f2ce4b9ab93b675a/genvalidity-time/src/Data/GenValidity/Time.hs
haskell
# OPTIONS_GHC -fno - warn - dodgy - exports # module Data.GenValidity.Time ( module X, ) where import Data.GenValidity.Time.Calendar as X import Data.GenValidity.Time.Clock as X () import Data.GenValidity.Time.Format as X () import Data.GenValidity.Time.LocalTime as X ()
1325ea29ea7ffa7dfe678ac284d0bb16f5879b8bbfdd83b1b5e45d13991dd147
tweag/linear-base
List.hs
{-# LANGUAGE BangPatterns #-} # LANGUAGE FlexibleInstances # {-# LANGUAGE LinearTypes #-} # LANGUAGE MultiParamTypeClasses # # LANGUAGE ScopedTypeVariables # # LANGUAGE TypeFamilies # # LANGUAGE UndecidableInstances # # LANGUAGE NoImplicitPrelude # module Foreign.List where import qualified Data.List as List import F...
null
https://raw.githubusercontent.com/tweag/linear-base/eedda420101f50be4e9e8c8fdee4d10711c6207a/examples/Foreign/List.hs
haskell
# LANGUAGE BangPatterns # # LANGUAGE LinearTypes # always keep a Box instead. Remark: this is a bit wasteful, we could implement an allocation-free map by reusing the old pointer with realloc. XXX: the mapped function should be of type (a %1-> Pool %1-> b) Remark: map could be tail-recursive in destination-passi...
# LANGUAGE FlexibleInstances # # LANGUAGE MultiParamTypeClasses # # LANGUAGE ScopedTypeVariables # # LANGUAGE TypeFamilies # # LANGUAGE UndecidableInstances # # LANGUAGE NoImplicitPrelude # module Foreign.List where import qualified Data.List as List import Foreign.Marshal.Pure (Box, Pool) import qualified Foreign.Ma...
2de58b9fbdfc0040d5626e8f53a62850fdf90ab299938064036cd98ca6e2716b
unisonweb/unison
FuzzyFind.hs
# LANGUAGE DataKinds # {-# LANGUAGE DeriveAnyClass #-} # LANGUAGE DeriveGeneric # # LANGUAGE KindSignatures # {-# LANGUAGE OverloadedStrings #-} # LANGUAGE StandaloneDeriving # # LANGUAGE TypeOperators # # LANGUAGE ViewPatterns # # OPTIONS_GHC -Wno - orphans # module Unison.Server.Endpoints.FuzzyFind where import Con...
null
https://raw.githubusercontent.com/unisonweb/unison/cf278f9fb66ccb9436bf8a2eb4ab03fc7a92021d/unison-share-api/src/Unison/Server/Endpoints/FuzzyFind.hs
haskell
# LANGUAGE DeriveAnyClass # # LANGUAGE OverloadedStrings #
# LANGUAGE DataKinds # # LANGUAGE DeriveGeneric # # LANGUAGE KindSignatures # # LANGUAGE StandaloneDeriving # # LANGUAGE TypeOperators # # LANGUAGE ViewPatterns # # OPTIONS_GHC -Wno - orphans # module Unison.Server.Endpoints.FuzzyFind where import Control.Monad.Except import Data.Aeson (ToJSON (toEncoding), defaultOp...
2602f48063e2ca2b000e4f60282b278a442a90b2cc7114e67e33d63e40f8dd1d
OlivierSohn/hamazed
UIInstructions.hs
{-# OPTIONS_HADDOCK hide #-} # LANGUAGE NoImplicitPrelude # # LANGUAGE LambdaCase # # LANGUAGE DeriveGeneric # # LANGUAGE GeneralizedNewtypeDeriving # module Imj.Graphics.Class.UIInstructions ( UIInstructions(..) , Instructions(..) , ConfigUI(..) ) where import Imj.Prelude i...
null
https://raw.githubusercontent.com/OlivierSohn/hamazed/c0df1bb60a8538ac75e413d2f5bf0bf050e5bc37/imj-base/src/Imj/Graphics/Class/UIInstructions.hs
haskell
# OPTIONS_HADDOCK hide # ^ The color to use to draw instructions ^ Describing the parameter
# LANGUAGE NoImplicitPrelude # # LANGUAGE LambdaCase # # LANGUAGE DeriveGeneric # # LANGUAGE GeneralizedNewtypeDeriving # module Imj.Graphics.Class.UIInstructions ( UIInstructions(..) , Instructions(..) , ConfigUI(..) ) where import Imj.Prelude import Prelude(lengt...
f61162c4354ec4a44e546c50a2d029493f2651df9bbbfb01a7f1b359c239c5c3
g-andrade/locus
locus_mmdb_tree.erl
Copyright ( c ) 2017 - 2023 %% %% 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 restriction , including without limitation %% the rights to use, copy, modify, merge, publish, di...
null
https://raw.githubusercontent.com/g-andrade/locus/c731b1a4a819e998c60d90a0484e75e36966aa8c/src/locus_mmdb_tree.erl
erlang
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), the rights to use, copy, modify, merge, publish, distribute, sublicense, Software is furnished to do so, subject to the following conditions: The above copyright not...
Copyright ( c ) 2017 - 2023 to deal in the Software without restriction , including without limitation and/or sell copies of the Software , and to permit persons to whom the all copies or substantial portions of the Software . THE SOFTWARE IS PROVIDED " AS IS " , WITHOUT WARRANTY OF ANY KIND , EXPRESS OR ...
1bc878f598e5906e9062fca568625b47209dd61956d32a2dfcac59f7afa50ab1
theodormoroianu/SecondYearCourses
HaskellChurch_20210415163235.hs
{-# LANGUAGE RankNTypes #-} module HaskellChurch where A boolean is any way to choose between two alternatives newtype CBool = CBool {cIf :: forall t. t -> t -> t} An instance to show as regular Booleans instance Show CBool where show b = show $ cIf b True False The boolean constant true always chooses the ...
null
https://raw.githubusercontent.com/theodormoroianu/SecondYearCourses/5e359e6a7cf588a527d27209bf53b4ce6b8d5e83/FLP/Laboratoare/Lab%209/.history/HaskellChurch_20210415163235.hs
haskell
# LANGUAGE RankNTypes # The boolean negation switches the alternatives The boolean conjunction can be built as a conditional The boolean disjunction can be built as a conditional a pair is a way to compute something based on the values contained within the pair. a function to be applied on the values, it will apply i...
module HaskellChurch where A boolean is any way to choose between two alternatives newtype CBool = CBool {cIf :: forall t. t -> t -> t} An instance to show as regular Booleans instance Show CBool where show b = show $ cIf b True False The boolean constant true always chooses the first alternative cTrue :: C...
44efdbfc690e9a8deee0ea8843aad97cec3098a16831291a2b3ecb2bed854187
scalaris-team/scalaris
bench_fun.erl
2008 - 2015 Zuse Institute Berlin 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 d...
null
https://raw.githubusercontent.com/scalaris-team/scalaris/feb894d54e642bb3530e709e730156b0ecc1635f/src/bench_fun.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 or implied. See the License for the specific language gov...
2008 - 2015 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 < > -module(bench_fun). -author(''). -vsn('$Id$'). -include("scalaris.hrl"). -include("client_types.hrl"). -export([i...
e1bd9c184171410bb5018eeea772eeed1849e7ab635f6a54df06d8e58d69e148
juspay/atlas
Rentals.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/app/atlas-transport/src/Product/FarePolicy/Rentals.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...
814e070dee63529c2a9e43c59c22d1de29defa9db313efb5adcc2d177cbbf61b
intolerable/reddit
Parser.hs
-- | Utilities for parsing JSON responses from the API module Reddit.Parser ( ensureKind , stripPrefix ) where import Control.Monad (guard) import Data.Aeson.Types (Parser, Object, (.:)) import Data.Monoid import Data.Text (Text) import Prelude import qualified Data.Text as Text | Fail to parse unless the @Obje...
null
https://raw.githubusercontent.com/intolerable/reddit/588901f79e684536a6839d63e6f9c6a4847fe001/src/Reddit/Parser.hs
haskell
| Utilities for parsing JSON responses from the API | Parse an ID in either the "tX_XXXXXX" or simply "XXXXXX" format.
module Reddit.Parser ( ensureKind , stripPrefix ) where import Control.Monad (guard) import Data.Aeson.Types (Parser, Object, (.:)) import Data.Monoid import Data.Text (Text) import Prelude import qualified Data.Text as Text | Fail to parse unless the @Object@ 's kind is what it should be . ensureKind :: Object...
92214f03e5acbf32d55f8f3e3b0bb3a7f427833cb95b6e5d1aaeb1bd6332e8c1
lulf/hcoap
Transport.hs
| Module : Network . CoAP.Transport Description : CoAP transport library Maintainer : License : BSD3 The CoAP transport API is intended to provide different transports available for CoAP . Currently only UDP transport is supported . Module: Network.CoAP.Transport Description: CoAP transport library Mai...
null
https://raw.githubusercontent.com/lulf/hcoap/8127520b767430b5513be6cfe646894ae7a2e616/src/Network/CoAP/Transport.hs
haskell
| Module : Network . CoAP.Transport Description : CoAP transport library Maintainer : License : BSD3 The CoAP transport API is intended to provide different transports available for CoAP . Currently only UDP transport is supported . Module: Network.CoAP.Transport Description: CoAP transport library Mai...
172bdb65eca6cc185152e418b1bb9b38fd2944cd30c5ad8cb1aa9eff76156272
tiensonqin/lymchat
token.clj
(ns api.services.token (require [taoensso.carmine :as car] [environ-plus.core :refer [env]] [api.util :refer [uuid wcar*]] [api.services.token.crypt :as crypt] [clojure.string :as string])) (defonce refresh-tokens "refresh_tokens") (defn save-token [tokens key token] ...
null
https://raw.githubusercontent.com/tiensonqin/lymchat/824026607d30c12bc50afb06f677d1fa95ff1f2f/api/src/api/services/token.clj
clojure
(ns api.services.token (require [taoensso.carmine :as car] [environ-plus.core :refer [env]] [api.util :refer [uuid wcar*]] [api.services.token.crypt :as crypt] [clojure.string :as string])) (defonce refresh-tokens "refresh_tokens") (defn save-token [tokens key token] ...
ede12ba08edfae8ed4bea83922fe15581f6b480093e55f744de763398f1efe2a
lthms/spatial-sway
sway_ipc.ml
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 /. * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at /. *) open Sway_ipc_types open Mltp...
null
https://raw.githubusercontent.com/lthms/spatial-sway/462dcb36a35ce5efdfebeea53ac4baedd45f2d7f/lib/sway_ipc/sway_ipc.ml
ocaml
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 /. * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at /. *) open Sway_ipc_types open Mltp...
ff55e0ae8d99240d58efbe8024dfd7d74d2df3765b2b440a0352a9d0b45d907b
uber/queryparser
Token.hs
Copyright ( c ) 2017 Uber Technologies , Inc. -- -- 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 restriction , including without limitation the rights -- to use, copy, modify, mer...
null
https://raw.githubusercontent.com/uber/queryparser/cd903da0edceddde2703166d3f47fa7f06eeac21/dialects/vertica/src/Database/Sql/Vertica/Parser/Token.hs
haskell
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal to use, copy, modify, merge, publish, distribute, sublicense, and/or sell furnished to do so, subject to the following conditions: The above copyright notice ...
Copyright ( c ) 2017 Uber Technologies , Inc. in the Software without restriction , including without limitation the rights copies of the Software , and to permit persons to whom the Software is all copies or substantial portions of the Software . THE SOFTWARE IS PROVIDED " AS IS " , WITHOUT WARRANTY OF ANY K...
34dc3e1d77cc9e3d353b320bde58fc93127d895aad66909961454096a504635a
karamellpelle/grid
GLFW.hs
grid is a game written in Haskell Copyright ( C ) 2018 -- -- This file is part of grid. -- -- grid is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation , either version 3 of the License , or -- (at your optio...
null
https://raw.githubusercontent.com/karamellpelle/grid/56729e63ed6404fd6cfd6d11e73fa358f03c386f/source/MEnv/System/GLFW.hs
haskell
This file is part of grid. grid is free software: you can redistribute it and/or modify (at your option) any later version. grid is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GN...
grid is a game written in Haskell Copyright ( C ) 2018 it under the terms of the GNU General Public License as published by the Free Software Foundation , either version 3 of the License , or You should have received a copy of the GNU General Public License module MEnv.System.GLFW ( systemHandleFrontBe...
27dd9ccecaf5987a6b5e7843a2b70a846b83a632055456b2b4e8c2f693d34997
ghcjs/jsaddle-dom
HTMLProgressElement.hs
# LANGUAGE PatternSynonyms # -- For HasCallStack compatibility {-# LANGUAGE ImplicitParams, ConstraintKinds, KindSignatures #-} # OPTIONS_GHC -fno - warn - unused - imports # module JSDOM.Generated.HTMLProgressElement (setValue, getValue, setMax, getMax, getPosition, getLabels, HTMLProgressElement(..), g...
null
https://raw.githubusercontent.com/ghcjs/jsaddle-dom/5f5094277d4b11f3dc3e2df6bb437b75712d268f/src/JSDOM/Generated/HTMLProgressElement.hs
haskell
For HasCallStack compatibility # LANGUAGE ImplicitParams, ConstraintKinds, KindSignatures # | <-US/docs/Web/API/HTMLProgressElement.position Mozilla HTMLProgressElement.position documentation>
# LANGUAGE PatternSynonyms # # OPTIONS_GHC -fno - warn - unused - imports # module JSDOM.Generated.HTMLProgressElement (setValue, getValue, setMax, getMax, getPosition, getLabels, HTMLProgressElement(..), gTypeHTMLProgressElement) where import Prelude ((.), (==), (>>=), return, IO, Int, Float, Dou...
38ccb20482259c80177c19698bd81dd6cea41016cb02c4e47d7c241b3257a529
dgtized/shimmers
triangle_test.cljc
(ns shimmers.math.geometry.triangle-test (:require [clojure.test :as t :refer [deftest is] :include-macros true] [shimmers.math.geometry.triangle :as sut] [thi.ng.geom.core :as g] [thi.ng.geom.triangle :as gt] [thi.ng.geom.vector :as gv] [thi.ng.math.core :as tm])) (deftest decomposition (let [t ...
null
https://raw.githubusercontent.com/dgtized/shimmers/57288e7faa60d9e04e2c515ef93c7016864b0d53/test/shimmers/math/geometry/triangle_test.cljc
clojure
(ns shimmers.math.geometry.triangle-test (:require [clojure.test :as t :refer [deftest is] :include-macros true] [shimmers.math.geometry.triangle :as sut] [thi.ng.geom.core :as g] [thi.ng.geom.triangle :as gt] [thi.ng.geom.vector :as gv] [thi.ng.math.core :as tm])) (deftest decomposition (let [t ...
6982e599427f2b6dbadd8bed464bd0c24c47412689d8b386020e7865add89cdb
spinneyio/clj-push-notifications
core.clj
(ns clj-push-notifications.core (:import java.io.ByteArrayInputStream (com.google.firebase FirebaseOptions FirebaseOptions$Builder FirebaseApp) com.google.auth.oauth2.GoogleCredentials (com.google.firebase.messaging FirebaseMessaging Message MulticastMessage Notification ...
null
https://raw.githubusercontent.com/spinneyio/clj-push-notifications/c609954b69f6011604fab223d98f23d4105b615b/src/clj_push_notifications/core.clj
clojure
(ns clj-push-notifications.core (:import java.io.ByteArrayInputStream (com.google.firebase FirebaseOptions FirebaseOptions$Builder FirebaseApp) com.google.auth.oauth2.GoogleCredentials (com.google.firebase.messaging FirebaseMessaging Message MulticastMessage Notification ...
8340ac60bb44a39f7631be5a4c666b455154f44e3bba947761d3bae1ab960abc
mrmcc3/tailwind-clj
core.cljs
(ns tailwind.core (:require-macros tailwind.core))
null
https://raw.githubusercontent.com/mrmcc3/tailwind-clj/4c5e25c2502bcc49a065e06f6919241686d11eab/src/tailwind/core.cljs
clojure
(ns tailwind.core (:require-macros tailwind.core))
59e322654b58e1bb5107efc6abbe697f433a3d0789f349352d72cc0e9f8959af
funkenblatt/figwheel-test
snake.cljs
(ns figwheel-test.snake (:require [figwheel-test.geometry :as g] [figwheel-test.canvas :as c] [figwheel-test.snake-levels :as l] [figwheel-test.common :refer [tau canvas ctx fooprint init-elements scale-factor ...
null
https://raw.githubusercontent.com/funkenblatt/figwheel-test/03ca55406fde1f01b21c904f63840c3e1d6d8809/cljs/figwheel_test/snake.cljs
clojure
Otherwise, we're adding a straight section to a turn
(ns figwheel-test.snake (:require [figwheel-test.geometry :as g] [figwheel-test.canvas :as c] [figwheel-test.snake-levels :as l] [figwheel-test.common :refer [tau canvas ctx fooprint init-elements scale-factor ...