The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Function::Composition - compose functions into one function

SYNOPSIS

  use Function::Composition 'compose';

  compose(\&function1, \&function2, \&function3 ...)->(@args);
  # the same result as function1(function2(function3(@args)));

DESCRIPTION

Simulate the concept of Function Composition in Haskell.

SYNOPSIS shows you the similiar work in Haskell

    ( function1 . function2 . function3 ) args

AUTHOR

shelling <navyblueshellingford@gmail.com>

SEE ALSO

LICENSE

MIT (X11) License