Sha256: 2d47b1e1e056caa1fa3b29b29f7285d3b8356546e440be88d8af1d8c162e429c

Contents?: true

Size: 538 Bytes

Versions: 396

Compression:

Stored size: 538 Bytes

Contents

## Hints

The Sgf module should export a parseSgf module with the following signature:

```haskell
parseSgf :: Text -> Maybe (Tree (Map Text [Text]))
```

You may find it useful to copy the following definitions for SgfTree
and SgfNode:

```haskell
-- | A tree of nodes.
type SgfTree = Tree SgfNode

-- | A node is a property list, each key can only occur once.
-- Keys may have multiple values associated with them.
type SgfNode = Map Text [Text]
```

The parsec library is part of the Haskell Platform. Please use it to
your advantage.

Version data entries

396 entries across 396 versions & 1 rubygems

Version Path
trackler-2.0.6.0 tracks/haskell/exercises/sgf-parsing/HINTS.md
trackler-2.0.5.18 tracks/haskell/exercises/sgf-parsing/HINTS.md
trackler-2.0.5.17 tracks/haskell/exercises/sgf-parsing/HINTS.md
trackler-2.0.5.16 tracks/haskell/exercises/sgf-parsing/HINTS.md
trackler-2.0.5.15 tracks/haskell/exercises/sgf-parsing/HINTS.md
trackler-2.0.5.14 tracks/haskell/exercises/sgf-parsing/HINTS.md
trackler-2.0.5.13 tracks/haskell/exercises/sgf-parsing/HINTS.md
trackler-2.0.5.12 tracks/haskell/exercises/sgf-parsing/HINTS.md
trackler-2.0.5.11 tracks/haskell/exercises/sgf-parsing/HINTS.md
trackler-2.0.5.10 tracks/haskell/exercises/sgf-parsing/HINTS.md
trackler-2.0.5.9 tracks/haskell/exercises/sgf-parsing/HINTS.md
trackler-2.0.5.8 tracks/haskell/exercises/sgf-parsing/HINTS.md
trackler-2.0.5.7 tracks/haskell/exercises/sgf-parsing/HINTS.md
trackler-2.0.5.6 tracks/haskell/exercises/sgf-parsing/HINTS.md
trackler-2.0.5.5 tracks/haskell/exercises/sgf-parsing/HINTS.md
trackler-2.0.5.4 tracks/haskell/exercises/sgf-parsing/HINTS.md
trackler-2.0.5.3 tracks/haskell/exercises/sgf-parsing/HINTS.md
trackler-2.0.5.2 tracks/haskell/exercises/sgf-parsing/HINTS.md
trackler-2.0.5.1 tracks/haskell/exercises/sgf-parsing/HINTS.md
trackler-2.0.5.0 tracks/haskell/exercises/sgf-parsing/HINTS.md