Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 4b31bc8a63

Fetching latest commit…

Cannot retrieve the latest commit at this time

..
Failed to load latest commit information.
99-problems.pod
L-99_Ninety-Nine_Lisp_Problems.html
P01-scottp.pl
P02-scottp.pl
P03-scottp.pl
P04-scottp.pl
P05-scottp.pl
P06-scottp.pl
P07-eric256.pl
P07-viklund.pl
P08-eric256.pl
P08-viklund.pl
P09-rje.pl
P09-scottp.pl
P09-unobe.pl
P10-scottp.pl
P10-unobe.pl
P11-unobe.pl
P12-rhebus.pl
P12-unobe.pl
P13-rhebus.pl
P13-viklund.pl
P14-scottp.pl
P14-viklund.pl
P15-rhebus.pl
P15-unobe.pl
P16-edpratomo.pl
P17-unobe.pl
P20-rhebus.pl
P21-scottp.pl
P22-scottp.pl
P31-rhebus.pl
P32-rhebus.pl
P33-rhebus.pl
P34-rhebus.pl
P35-rhebus.pl
P36-ovid.pl
P36-rhebus.pl
P37-rhebus.pl
P39-rhebus.pl
P40-rhebus.pl
P41-rhebus.pl
P91-edpratomo.pl
README

README

99  Problems In Perl
====================
Based on the problems from http://www.ic.unicamp.br/~meidanis/courses/mc336/2006s2/funcional/L-99_Ninety-Nine_Lisp_Problems.html (which is stored here for future use)

Save solutions as PXX-author.pl as in other directorys where XX is the problem number and author is the....author!
Please include a specification describing the problem and, ideally, a
description of your solution and the perl6 features that it uses.

Use this as a template for your solutions:

use v6;

# Specification:
#   PXX (*) Problem copied from L-99_Ninety-Nine_Lisp_Problems.html
#       You are encouraged to modify the specification to fit perl6 thinking.
#       For example, P21 originally implied returning a copy of the list,
#       since LISP does not have mutable lists; you may change the wording to
#       reflect this, or change the spec to allow modification in-place.
# 
# Example: (preferably in the form of a REPL session)
# > say 'Hello, world!'
# Hello, world!


# Explanation of your answer, discussion of perl6 features used
# We create a function which returns its argument to needlessly complicate a
# hello, world program

sub my_func ($x) {
    return $x
}

say my_func('Hello, world!')
Something went wrong with that request. Please try again.