@startuml skinparam backgroundColor transparent skinparam shadowing false skinparam DefaultFontName "Inter", "system-ui", sans-serif skinparam DefaultFontSize 12 skinparam Padding 8 skinparam RoundCorner 12 skinparam MaxMessageSize 150 skinparam wrapWidth 200 skinparam nodesep 50 skinparam ranksep 50 skinparam componentStyle rectangle package "Pure vs. Impure Functions" { component "Input" as input component "Function" as func component "Output" as output component "Global State/IO" as state input -> func : deterministic func -> output : consistent note right of func Pure: Only depends on input. No hidden dependencies. end note component "Input 2" as input2 component "Impure Function" as func2 component "Output 2" as output2 input2 -> func2 func2 -> output2 func2 <-> state : Reads/Writes note right of func2 Impure: Result can change even with same input. end note } @enduml
Decode URL
Submit
amiga
aws-orange
black-knight
bluegray
blueprint
cerulean-outline
cerulean
crt-amber
crt-green
cyborg-outline
cyborg
hacker
lightgray
mars
materia-outline
materia
metal
mimeograph
minty
plain
reddress-darkblue
reddress-darkgreen
reddress-darkorange
reddress-darkred
reddress-lightblue
reddress-lightgreen
reddress-lightorange
reddress-lightred
sandstone
silver
sketchy-outline
sketchy
spacelab
spacelab-white
superhero-outline
superhero
toy
united
vibrant
🎉 Discover the future PlantUML Web Editor! 🚀
PNG
SVG
ASCII Art