## Snippets tagged kata

• ### Yet another Tennis Kata

It's a joke one liner implementation of Tennis Kata.Please see this code not seriously.

1 people like this

Posted: 5 years ago by nagat01

• ### Minesweeper Kata 2

Solution to Minesweeper Kata second challenge at Goto Copenhagen 2012 conference "Programming with the Stars" track. Runnable at http://tryfsharp.org.

2 people like this

Posted: 5 years ago by Phillip Trelford

• ### Code Kata: Writing Markdown parser

Sample for Coding Kata

2 people like this

Posted: 4 years ago by Tomas Petricek

• ### FizzBuzz with Forward Composition

This version of FizzBuzz uses forward composition instead of recursive pattern matching (see http://fssnip.net/e7). All the rules, including the default case, are in a list of lambdas that can be easily modified. The function executeRules composes the list into a single rule and executes it.

0 people like this

Posted: 4 years ago by Richard Broida

• ### Reversi Kata

Quick & dirty solution to Reversi kata: http://codingdojo.org/cgi-bin/wiki.pl?KataReversi

1 people like this

Posted: 4 years ago by Phillip Trelford

• ### Kata Six: Anagrams - solution in F#

Solution to Kata Six: Anagrams from http://codekata.pragprog.com/2007/01/kata_six_anagra.html in F#

1 people like this

Posted: 4 years ago by Suzanna

• ### KataBankOCR

See: http://codingdojo.org/cgi-bin/wiki.pl?KataBankOCR Prog. F# 2013 - London

2 people like this

Posted: 3 years ago by Zach Bray

• ### KataBankOCR User Story 1

User Story 1 at http://codingdojo.org/cgi-bin/wiki.pl?KataBankOCR 1. Define a function which retrieves text of a single digit with specified index in text of a number. 2. Make a sequence of texts of each digit of account number. 3. Find indices of text of 0 to 9 digit which satisfies structural equality to them.

0 people like this

Posted: 3 years ago by nagat01

• ### Minimal coding kata setup

Minimal coding kata setup that I use in my trainings - the aim is to use as simple F# syntax as possible and to have a nice way for specifying placeholders that attendees are required to fill.

2 people like this

Posted: 1 years ago by Tomas Petricek

• ### Minesweeper Kata

Solution to Minesweeper Kata challenge at Goto Copenhagen 2012 conference "Programming with the Stars" track.

4 people like this

Posted: 5 years ago by Phillip Trelford

• ### Minesweeper Tweet

Minesweeper computation Kata as a tweet (140 characters) not counting code to open namespace and to prepare field as a 2D array.

6 people like this

Posted: 5 years ago by Phillip Trelford

• ### FizzBuzz with Rule Engine

Inspired by http://dave.fayr.am/posts/2012-10-4-finding-fizzbuzz.html Rules are in a list of lambdas that can be easily modified. A pattern-matching recursive function applies them in the correct order.

5 people like this

Posted: 4 years ago by Richard Broida

• ### Coding Kata: Score a Bowling Game

Score a Bowling game. The game is represented as a list of integers. A game of bowling consists of ten frames. In each frame, the bowler will have two chances to knock down as many pins as possible with his bowling ball. If a bowler is able to knock down all ten pins with the first ball, he is awarded a strike. If the bowler is able to knock down all 10 pins with the two balls of a frame, it is known as a spare. Bonus points are awarded for both of these, depending on what is scored in the next 2 balls (for a strike) or 1 ball (for a spare). If the bowler knocks down all 10 pins in the tenth frame, the bowler is allowed to throw 3 balls for that frame. This allows for a potential of 12 strikes in a single game, and a maximum score of 300 points, a perfect game.

2 people like this

Posted: 4 years ago by Cesar Mendoza

• ### Reversi Kata solution

Reversi Kata solution from February 2013 London F# Meetup Coding Kata.

5 people like this

Posted: 4 years ago by Phillip Trelford

• ### Bank OCR

User Story 1 from the Bank OCR Kata: http://codingdojo.org/cgi-bin/wiki.pl?KataBankOCR

1 people like this

Posted: 3 years ago by Phillip Trelford

• ### Official SkillsMatter 2013 F# Tutorials Programming with the Stars Code Snippet

SkillsMatter 2013 F# Tutorials Programming with the Stars Code Snippet

1 people like this

Posted: 3 years ago by Rickasaurus

• ### FizzBuzz in F# by Embedding a Domain-Specific Language

This is a translation to F# of the Haskell code in the article "FizzBuzz in Haskell by Embedding a Domain-Specific Language" by Maciej Piróg The original article is located here: http://themonadreader.files.wordpress.com/2014/04/issue23.pdf The idea is to help people familiar with F# but not with Haskell to follow the article.

1 people like this

Posted: 3 years ago by Cesar Mendoza