design: type system design #3

Closed
schrottkatze wants to merge 2 commits from (deleted):main into main
Owner

In the new documents there my suggestions and ideas for a type system. not final or anything, just ideas.

In the new documents there my suggestions and ideas for a type system. not final or anything, just ideas.
schrottkatze added 2 commits 2024-01-08 12:45:54 +00:00
multisamplednight reviewed 2024-01-10 22:49:25 +00:00
@ -11,0 +38,4 @@
`[[(u8, u8, u8)]] * f32 -> [[(u8, u8, u8)]]`
Since all of the values are numbers (-> implementing `Num`/`Number`), they should be able to implicitely multiplied.
Collaborator

Typo.

-Since all of the values are numbers (-> implementing `Num`/`Number`), they should be able to implicitely multiplied. 
+Since all of the values are numbers (-> implementing `Num`/`Number`), they should be able to implicitly multiplied.
Typo. ```diff -Since all of the values are numbers (-> implementing `Num`/`Number`), they should be able to implicitely multiplied. +Since all of the values are numbers (-> implementing `Num`/`Number`), they should be able to implicitly multiplied. ```
multisamplednight reviewed 2024-01-10 22:50:00 +00:00
@ -11,0 +20,4 @@
=== Generic-focused
Color-awareness may be handled as seperate types, so one might have `LinearRgb`, `SRgb`, `Xyz` etc. Optimally implemented using our own constructs.
Collaborator

Why not use the palette crate instead?

Why not use the `palette` crate instead?
Author
Owner

I meant in-language constructs, but that's probably something to put on the far future todo list...

I'm concerned about lacking support for OCIO, but realistically, throw that on that list too lol

I meant in-language constructs, but that's probably something to put on the far future todo list... I'm concerned about lacking support for [OCIO](https://opencolorio.org/), but realistically, throw that on that list too lol
Author
Owner

Can I change which branch I'm merging from? bc I fucked up and worked on main, resolved that locally now but this pr still tries to merge main

Can I change which branch I'm merging from? bc I fucked up and worked on main, resolved that locally now but this pr still tries to merge main
Collaborator

Yeah, after pushing the branch to your fork, you can use the Edit button at the top of this page to make the PR source and target configurable.

Yeah, after pushing the branch to your fork, you can use the `Edit` button at the top of this page to make the PR source and target configurable.
Author
Owner

I apparently can't switch the source :/

I apparently can't switch the source :/
Collaborator

(pong)

(pong)
Author
Owner

Closing because I fucked up the git setup here and locally.

Closing because I fucked up the git setup here and locally.
schrottkatze closed this pull request 2024-01-20 19:26:34 +00:00

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
proposal
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: katzen-cafe/iowo#3
No description provided.