summaryrefslogtreecommitdiff
path: root/ext/typeexpr/doc.go
blob: 9c5ab6e2fb6e65fa86d6af8e0ff10ddd55231780 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

// Package typeexpr extends HCL with a convention for describing HCL types
// within configuration files.
//
// The type syntax is processed statically from a hcl.Expression, so it cannot
// use any of the usual language operators. This is similar to type expressions
// in statically-typed programming languages.
//
//     variable "example" {
//       type = list(string)
//     }
package typeexpr