---
title: "Discussion on \"Make Invalid Domain States Hard to Represent with Kotlin and Arrow\" | Hashnode"
description: "Discussion on \"Make Invalid Domain States Hard to Represent with Kotlin and Arrow\". Using value classes, context parameters and typed errors to build a small functional domain model"
url: "https://hashnode.com/posts/make-invalid-domain-states-hard-to-represent-with-kotlin-and-arrow/6a8c59e5b03c5187662bf16b"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Make Invalid Domain States Hard to Represent with Kotlin and Arrow](https://blog.hbrown.dev/make-invalid-domain-states-hard-to-represent-with-kotlin-and-arrow?utm_source=hashnode&utm_medium=feed)

Using value classes, context parameters and typed errors to build a small functional domain model

Aug 24 · 7 min read · blog.hbrown.dev  
Read the article

-   [#kotlin](https://hashnode.com/tag/kotlin)
-   [#arrow](https://hashnode.com/tag/arrow)
-   [#validation](https://hashnode.com/tag/validation)
-   [#ddd](https://hashnode.com/tag/ddd)

## Written by

[Henry Brown](https://hashnode.com/@hbrown)

@hbrown · Cape Town, South Africa

  
[View profile](https://hashnode.com/@hbrown)

Pragmatic Backend Engineering for the Modern JVM

JVM enthusiast working for Grapevine Interactive in beautiful Cape Town.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
