This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import xs from 'xstream'; | |
import R from 'ramda'; | |
import {div,ul,h1,button,input,p,li} from '@cycle/dom'; | |
import debounce from 'xstream/extra/debounce'; | |
function showElementD(className, selectedElements, element) { | |
const included = selectedElements.includes(element.id); | |
return element === null ? | |
li('.list-element', 'No element received') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<project xmlns="http://maven.apache.org/POM/4.0.0" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 | |
http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>com.clinoge.examples</groupId> | |
<artifactId>primefaces</artifactId> | |
<version>0.0.1</version> | |
<packaging>war</packaging> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
divide :: Int -> Int -> Int | |
divide 1 1 = 1 | |
divide 2 1 = 2 | |
divide 2 2 = 1 | |
divide 3 1 = 3 | |
divide 3 2 = 1 | |
divide 3 3 = 1 | |
divide 4 1 = 4 | |
divide 4 2 = 2 | |
divide 4 3 = 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Linoge\Functional; | |
use ReflectionFunction; | |
use ReflectionMethod; | |
use ReflectionClass; | |
class F { | |
public static function trace() { | |
return call_user_func_array(F::curry(function($args) { | |
if (is_array($args)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(with-output-to-string (*standard-output*) | |
(ql:quickload "drakma" ) | |
(ql:quickload "plump" ) | |
(ql:quickload "split-sequence" ) | |
(ql:quickload "alexandria" ) | |
(ql:quickload "cl-strings" ) | |
(ql:quickload "clss" )) | |
(setf *random-state* (make-random-state t)) |