Skip to content

Instantly share code, notes, and snippets.

@kritzcreek
Created May 24, 2020 20:41
Show Gist options
  • Save kritzcreek/ab9a063a7b85876ca9cc2fc10fd2a9bd to your computer and use it in GitHub Desktop.
Save kritzcreek/ab9a063a7b85876ca9cc2fc10fd2a9bd to your computer and use it in GitHub Desktop.
module Main where
import Prelude
import Data.Map as Map
import Data.Tuple (Tuple(..))
myMap :: Map.Map Int String
myMap = Map.fromFoldable [Tuple 1 "Hi"]
myArray :: Array String
myArray = ?x (Map.values myMap)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment