this is related to the treasure challenge on exercism:
https://exercism.org/tracks/gleam/exercises/treasure-chest/edit
and there is this part of the code:
pub fn get_treasure(
chest: TreasureChest(treasure),
password: String)
-> UnlockResult(treasure) {
}
i'm not sure what treasure in chest: TreasureChest(treasure) is doing. Maybe is a generic, but then i'm not sure where is coming from. I feel like i'm having a misunderstanding of how things work here