blob: 1e8ee44ad4d4e2f4df5604fdc65fc559fc0a3523 [file]
/-
Copyright (c) 2020 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Leonardo de Moura
-/
module
prelude
import Init.Meta
import Init.Data.ToString.Basic
syntax:max "s!" interpolatedStr(term) : term
macro_rules
| `(s! $interpStr) => do interpStr.expandInterpolatedStr (← `(String)) (← `(toString))