Skip to content
This repository has been archived by the owner on Nov 18, 2023. It is now read-only.

Enhance features: Confound scalars and 1x1 matrix #33

Open
Akaban opened this issue Jun 15, 2016 · 1 comment
Open

Enhance features: Confound scalars and 1x1 matrix #33

Akaban opened this issue Jun 15, 2016 · 1 comment

Comments

@Akaban
Copy link

Akaban commented Jun 15, 2016

Hello,

This is a well done package but I was asking something to myself: would it be possible to confound scalars and 1x1 matrix ? As a scalar can be seen as a 1x1 matrix and conversely. Is this possible in Haskell?

Cheers,

Akaban.

@octopuscabbage
Copy link
Contributor

I don't see how we'd be able to do this without tracking dimensionality information in the type (which actually isn't too bad of an idea in a better dependently typed language)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants