Blog articles tagged 'functional', 'programming'

0
comment
on 10/18/2014 1:27 PM
Problem Consider the following “magic” 3-gon ring, filled with the numbers 1 to 6, and each line adding to nine. Working clockwise, and starting from the group of three with the numerically lowest external node (4,3,2 in this example), each solution can b[...]
.
0
comment
on 10/18/2014 7:56 AM
Problem All square roots are periodic when written as continued fractions and can be written in the form: For example, let us consider ?23: If we continue we would get the following expansion: The process can be summarised as follows: It can be seen that [...]
.
0
comment
on 10/18/2014 6:04 AM
Problem It is well known that if the square root of a natural number is not an integer, then it is irrational. The decimal expansion of such square roots is infinite without any repeating pattern at all. The square root of two is 1.41421356237309504880…, [...]
.
0
comment
on 10/18/2014 4:50 AM
Problem Triangle, square, pentagonal, hexagonal, heptagonal, and octagonal numbers are all figurate (polygonal) numbers and are generated by the following formulae: The ordered set of three 4-digit numbers: 8128, 2882, 8281, has three interesting properti[...]
.
0
comment
on 7/16/2014 7:17 PM
I saw this tweet on my timeline the other day.. which reminded me again to look at Elm and I’ve spend the last week or so getting myself immersed with this wonderful little language built around the idea of functional reactive programming. My first impres[...]
.
0
comment
on 7/13/2014 7:57 AM
Having spent some time this week with Elm I have seen plenty of things to make me like it, a more in-depth review of my experience with Elm so far is in the works but for now I want to talk about Elm’s record type and how it compares with F# record type w[...]
.
0
comment
on 8/28/2013 11:49 AM
.
0
comment
on 7/6/2013 5:59 AM
Problem The primes 3, 7, 109, and 673, are quite remarkable. By taking any two primes and concatenating them in any order the result will always be prime. For example, taking 7 and 109, both 7109 and 1097 are prime. The sum of these four primes, 792, repr[...]
.
0
comment
on 6/24/2013 4:52 PM
Following on from my last post on formatting a Markdown document into PDF using FSharp.Markdown.Pdf, if you don’t like the default styling (which I tried to mimic style Github formats Markdown documents with) you can set your own styling for the different[...]
.
0
comment
on 6/15/2013 6:12 AM
I spent the last couple of nights putting together a simple Markdown to PDF formatter using Tomas Petricek’s FSharp.Formatting project and the PdfSharp-MigraDoc library. To use this library, you can either grab the source from the GitHub repository or get[...]
.
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us
Built with WebSharper