Sha256: 0e6c338a5f0fc84e3d3c19a6820c10a25db1d9b25fb16f65175cda747bb3ed8e

Contents?: true

Size: 589 Bytes

Versions: 335

Compression:

Stored size: 589 Bytes

Contents

## Hints

To complete this exercise, you need to create the data type `Matrix`,
with `Eq` and `Show` instances, and implement the following functions:

- `cols`
- `column`
- `flatten`
- `fromList`
- `fromString`
- `reshape`
- `row`
- `rows`
- `shape`
- `transpose`

You will find a dummy data declaration and type signatures already in place,
but it is up to you to define the functions and create a meaningful data type,
newtype or type synonym.

No validation of input is required. Let it fail if the matrix is not
rectangular, invalid chars are encountered, etc.

shape is (rows, cols)

Version data entries

335 entries across 335 versions & 1 rubygems

Version Path
trackler-2.2.1.119 tracks/haskell/exercises/matrix/.meta/hints.md
trackler-2.2.1.118 tracks/haskell/exercises/matrix/.meta/hints.md
trackler-2.2.1.117 tracks/haskell/exercises/matrix/.meta/hints.md
trackler-2.2.1.116 tracks/haskell/exercises/matrix/.meta/hints.md
trackler-2.2.1.115 tracks/haskell/exercises/matrix/.meta/hints.md
trackler-2.2.1.114 tracks/haskell/exercises/matrix/.meta/hints.md
trackler-2.2.1.113 tracks/haskell/exercises/matrix/.meta/hints.md
trackler-2.2.1.111 tracks/haskell/exercises/matrix/.meta/hints.md
trackler-2.2.1.110 tracks/haskell/exercises/matrix/.meta/hints.md
trackler-2.2.1.109 tracks/haskell/exercises/matrix/.meta/hints.md
trackler-2.2.1.108 tracks/haskell/exercises/matrix/.meta/hints.md
trackler-2.2.1.107 tracks/haskell/exercises/matrix/.meta/hints.md
trackler-2.2.1.106 tracks/haskell/exercises/matrix/.meta/hints.md
trackler-2.2.1.105 tracks/haskell/exercises/matrix/.meta/hints.md
trackler-2.2.1.104 tracks/haskell/exercises/matrix/.meta/hints.md
trackler-2.2.1.103 tracks/haskell/exercises/matrix/.meta/hints.md
trackler-2.2.1.102 tracks/haskell/exercises/matrix/.meta/hints.md
trackler-2.2.1.101 tracks/haskell/exercises/matrix/.meta/hints.md
trackler-2.2.1.100 tracks/haskell/exercises/matrix/.meta/hints.md
trackler-2.2.1.99 tracks/haskell/exercises/matrix/.meta/hints.md