Rosettacode tasks in Perl 6
Ctrlk
  • Introduction
  • Programming tasks
    • 1
    • 2
    • 4
    • 9
    • A
    • B
    • C
    • D
    • E
    • F
    • G
    • H
    • I
    • J
    • K
    • L
    • M
      • Möbius function
      • MAC vendor lookup
      • Machine code
      • Mad Libs
      • Magic 8-ball
      • Magic constant
      • Magic numbers
      • Magic squares of doubly even order
      • Magic squares of odd order
      • Magic squares of singly even order
      • Magnanimous numbers
      • Main step of GOST 28147-89
      • Make a backup file
      • Make directory path
      • Man or boy test
      • Mandelbrot set
      • Map range
      • Marching squares
      • Markov chain text generator
      • Mastermind
      • Matrix-exponentiation operator
      • Matrix chain multiplication
      • Matrix digital rain
      • Matrix multiplication
      • Matrix transposition
      • Matrix with two diagonals
      • Maximum difference between adjacent elements of list
      • Maximum triangle path sum
      • Mayan calendar
      • Mayan numerals
      • Maze generation
      • Maze solving
      • McNuggets problem
      • MD4
      • MD5
      • Median filter
      • Meissel Mertens constant
      • Memory allocation
      • Memory layout of a data structure
      • Menu
      • Merge and aggregate datasets
      • Mersenne primes
      • Mertens function
      • Metallic ratios
      • Metaprogramming
      • Metered concurrency
      • Metronome
      • Mian-Chowla sequence
      • Middle three digits
      • Miller Rabin primality test
      • Mind boggling card trick
      • Minesweeper game
      • Minimal steps down to 1
      • Minimum multiple of m where digital sum equals m
      • Minimum number of cells after before above and below NxN squares
      • Minimum numbers of three lists
      • Minimum positive multiple in base 10 using only 0 and 1
      • Minimum primes
      • Minkowski question-mark function
      • Modified random distribution
      • Modular arithmetic
      • Modular exponentiation
      • Modular inverse
      • Modulinos
      • Monads
        • List monad
        • Maybe monad
        • Writer monad
      • Monte Carlo methods
      • Montgomery reduction
      • Monty Hall problem
      • Morse code
      • Mosaic matrix
      • Most frequent k chars distance
      • Motzkin numbers
      • Mouse position
      • Move-to-front algorithm
      • Multi-base primes
      • Multi-dimensional array
      • Multidimensional Newton-Raphson method
      • Multifactorial
      • Multiline shebang
      • Multiple distinct objects
      • Multiple regression
      • Multiplication tables
      • Multiplicative order
      • Multiplicatively perfect numbers
      • Multisplit
      • Multiton
      • Munchausen numbers
      • Munching squares
      • Musical scale
      • Mutex
      • Mutual recursion
    • N
    • O
    • P
    • Q
    • R
    • S
    • T
    • U
    • V
    • W
    • X
    • Y
    • Z
  • The End
Powered by GitBook
On this page
  1. Programming tasks
  2. M

Monads

List monadMaybe monadWriter monad
PreviousModulinosNextList monad

Was this helpful?

Was this helpful?