Sha256: b8e01f92d9d98a011ba40b7583f428bca09635fa8505a3714fa7f9ffaa6a2941

Contents?: true

Size: 748 Bytes

Versions: 367

Compression:

Stored size: 748 Bytes

Contents

## Hints
For something a little different you might also try a solution with an `unfold` function.
You are probably already familiar with `foldLeft/Right`: "map" a whole collection into something else (usually a non-collection).
`unfoldLeft/Right` are the "inverse" operations: "map" something (usually a non-collection) into a collection.
So `unfold`ing is a logical addition to and part of the FP standard repertoire.

This exercise can be seen as a case for `unfold`ing: "map" an `Int` into a `String` (which is of course implicitly a `Seq[Char]`).

Unfortunately `unfoldLeft/Right` is not included in Scala's collection library.
But you can take the implementation from [here](http://daily-scala.blogspot.de/2009/09/unfoldleft-and-right.html).

Version data entries

367 entries across 367 versions & 1 rubygems

Version Path
trackler-2.2.1.180 tracks/scala/exercises/roman-numerals/.meta/hints.md
trackler-2.2.1.179 tracks/scala/exercises/roman-numerals/.meta/hints.md
trackler-2.2.1.178 tracks/scala/exercises/roman-numerals/.meta/hints.md
trackler-2.2.1.177 tracks/scala/exercises/roman-numerals/.meta/hints.md
trackler-2.2.1.176 tracks/scala/exercises/roman-numerals/.meta/hints.md
trackler-2.2.1.175 tracks/scala/exercises/roman-numerals/.meta/hints.md
trackler-2.2.1.174 tracks/scala/exercises/roman-numerals/.meta/hints.md
trackler-2.2.1.173 tracks/scala/exercises/roman-numerals/.meta/hints.md
trackler-2.2.1.172 tracks/scala/exercises/roman-numerals/.meta/hints.md
trackler-2.2.1.171 tracks/scala/exercises/roman-numerals/.meta/hints.md
trackler-2.2.1.170 tracks/scala/exercises/roman-numerals/.meta/hints.md
trackler-2.2.1.169 tracks/scala/exercises/roman-numerals/.meta/hints.md
trackler-2.2.1.167 tracks/scala/exercises/roman-numerals/.meta/hints.md
trackler-2.2.1.166 tracks/scala/exercises/roman-numerals/.meta/hints.md
trackler-2.2.1.165 tracks/scala/exercises/roman-numerals/.meta/hints.md
trackler-2.2.1.164 tracks/scala/exercises/roman-numerals/.meta/hints.md
trackler-2.2.1.163 tracks/scala/exercises/roman-numerals/.meta/hints.md
trackler-2.2.1.162 tracks/scala/exercises/roman-numerals/.meta/hints.md
trackler-2.2.1.161 tracks/scala/exercises/roman-numerals/.meta/hints.md
trackler-2.2.1.160 tracks/scala/exercises/roman-numerals/.meta/hints.md