# \#1\_2\_0

**URL:** https://forum.canton.network/tag/1-2-0/112.md

[Latest](https://forum.canton.network/latest.md) · [Categories](https://forum.canton.network/categories.md) · [Tags](https://forum.canton.network/tags.md)

---

## [Specifying symbol type for \`HasField x r a\`](https://forum.canton.network/t/specifying-symbol-type-for-hasfield-x-r-a/701)

<div class="topic-metadata">

**Author:** [@Luciano](https://forum.canton.network/u/Luciano)\
**Replies:** 9\
**Last updated:** [August 3, 2020, 10:08am UTC](https://forum.canton.network/t/specifying-symbol-type-for-hasfield-x-r-a/701 "2020-08-03T10:08:05Z")

</div>

I know that the HasField typeclass is used to access fields in DAML using the dot notation. e.g. foo.a.b.c as I’ve seen error message allude to this when I mistype a field name. I’d like to use this to write a function …
