Created
May 8, 2019 05:18
-
-
Save datashaman/730dd12079a35a2cf165592428eca9d0 to your computer and use it in GitHub Desktop.
Datashaman\Logic\J Example
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 | |
<<<CONFIG | |
packages: | |
- "datashaman/logic: dev-master" | |
CONFIG; | |
# | |
# This is a Melody script. http://melody.sensiolabs.org/ | |
# | |
use function Datashaman\Logic\J; | |
use function Datashaman\Logic\repr; | |
$f = J(); | |
echo repr($f(12)) . PHP_EOL; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment