Skip to content

Instantly share code, notes, and snippets.

View datashaman's full-sized avatar

datashaman datashaman

  • datashaman
  • Cape Town, South Africa
View GitHub Profile
@datashaman
datashaman / Datashaman\Logic\rights Example
Last active May 8, 2019 05:07
Datashaman\Logic\rights Example
<?php
<<<CONFIG
packages:
- "datashaman/logic: dev-master"
CONFIG;
#
# This is a Melody script. http://melody.sensiolabs.org/
#
use function Datashaman\Logic\mkLeft;
@datashaman
datashaman / Datashaman\Logic\lefts Example
Last active May 8, 2019 05:07
Datashaman\Logic\lefts Example
<?php
<<<CONFIG
packages:
- "datashaman/logic: dev-master"
CONFIG;
#
# This is a Melody script. http://melody.sensiolabs.org/
#
use function Datashaman\Logic\lefts;
@datashaman
datashaman / Datashaman\Logic\isRight Example
Last active May 8, 2019 05:07
Datashaman\Logic\isRight Example
<?php
<<<CONFIG
packages:
- "datashaman/logic: dev-master"
CONFIG;
#
# This is a Melody script. http://melody.sensiolabs.org/
#
use function Datashaman\Logic\isRight;
@datashaman
datashaman / Datashaman\Logic\isLeft Example
Last active May 8, 2019 05:06
Datashaman\Logic\isLeft Example
<?php
<<<CONFIG
packages:
- "datashaman/logic: dev-master"
CONFIG;
#
# This is a Melody script. http://melody.sensiolabs.org/
#
use function Datashaman\Logic\isLeft;
@datashaman
datashaman / Datashaman\Logic\fromRight Example
Last active May 8, 2019 05:06
Datashaman\Logic\fromRight Example
<?php
<<<CONFIG
packages:
- "datashaman/logic: dev-master"
CONFIG;
#
# This is a Melody script. http://melody.sensiolabs.org/
#
use function Datashaman\Logic\fromRight;
@datashaman
datashaman / Datashaman\Logic\fromLeft Example
Last active May 8, 2019 05:06
Datashaman\Logic\fromLeft Example
<?php
<<<CONFIG
packages:
- "datashaman/logic: dev-master"
CONFIG;
#
# This is a Melody script. http://melody.sensiolabs.org/
#
use function Datashaman\Logic\fromLeft;
@datashaman
datashaman / Datashaman\Logic\F Example
Last active May 8, 2019 05:06
Datashaman\Logic\F Example
<?php
<<<CONFIG
packages:
- "datashaman/logic: dev-master"
CONFIG;
#
# This is a Melody script. http://melody.sensiolabs.org/
#
use function Datashaman\Logic\F;
@datashaman
datashaman / Datashaman\Logic\mkRight Example
Last active May 8, 2019 05:06
Datashaman\Logic\mkRight Example
<?php
<<<CONFIG
packages:
- "datashaman/logic: dev-master"
CONFIG;
#
# This is a Melody script. http://melody.sensiolabs.org/
#
use function Datashaman\Logic\mkRight;
@datashaman
datashaman / Datashaman\Logic\mkLeft Example
Last active May 8, 2019 05:06
Datashaman\Logic\mkLeft Example
<?php
<<<CONFIG
packages:
- "datashaman/logic: dev-master"
CONFIG;
#
# This is a Melody script. http://melody.sensiolabs.org/
#
use function Datashaman\Logic\mkLeft;
@datashaman
datashaman / Datashaman\Logic\curry Example
Last active May 8, 2019 05:06
Datashaman\Logic\curry Example
<?php
<<<CONFIG
packages:
- "datashaman/logic: dev-master"
CONFIG;
#
# This is a Melody script. http://melody.sensiolabs.org/
#
use function Datashaman\Logic\curry;