memesearch
Is This a Dependent Type?

Is This a Dependent Type?

Download Find similar pictures
Text on the meme
Haskeller {-# LANGUAGE TypeFamilies #-} {-# LANGUAGE DataKinds #-} {-# LANGUAGE TypeInType #-} {-# LANGUAGE KindSignatures #-} {-# LANGUAGE GADTs #-} data Nat = Z | S Nat data Vec (n :: Nat) a VNil :: Vec Z a VCons :: a → Vec n vZipper :: Vec n a → Vec vZp (VNil = VNil Is this a dependent type?
What it means

A cartoon programmer presents Haskell code involving type-level natural numbers, vectors, and language extensions, while asking whether it is a dependent type. The joke targets the complexity and intimidating appearance of advanced Haskell type-system syntax, used as a reaction to overly elaborate functional programming code.

Objects
Tags
Source
Type
image
Size
800×600 · 78.7 KiB
Mood
sarcastic, absurd
Language
en
Added