# \#repl

**URL:** https://forum.canton.network/tag/repl/120.md

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

---

## [Daml REPL - is there a way to import DAML-LF JSON](https://forum.canton.network/t/daml-repl-is-there-a-way-to-import-daml-lf-json/4985)

<div class="topic-metadata">

**Author:** [@nycnewman](https://forum.canton.network/u/nycnewman)\
**Replies:** 4\
**Last updated:** [July 27, 2022, 2:04pm UTC](https://forum.canton.network/t/daml-repl-is-there-a-way-to-import-daml-lf-json/4985 "2022-07-27T14:04:04Z")

</div>

In the vein of Daml Script, is there a way to import a file in Daml REPL? The use case would be to export a set of party identifiers via a script (i.e. initial user and party setup) and then have a way to import these pa…

---

## [Canton REPL Font Colour Hard to Read](https://forum.canton.network/t/canton-repl-font-colour-hard-to-read/3084)

<div class="topic-metadata">

**Author:** [@quidagis](https://forum.canton.network/u/quidagis)\
**Replies:** 2\
**Last updated:** [September 15, 2021, 10:41pm UTC](https://forum.canton.network/t/canton-repl-font-colour-hard-to-read/3084 "2021-09-15T22:41:39Z")

</div>

Hi Canton Team, Just speccing up my Ubuntu Server with Canton Community 0.27.0, ran the cmd: bin/canton -c examples/01-simple-topology/simple-topology.conf and noted that the two top lines after the command in the term…

---

## [Daml REPL Non-Functional On 64-Bit Linux](https://forum.canton.network/t/daml-repl-non-functional-on-64-bit-linux/2907)

<div class="topic-metadata">

**Author:** [@quidagis](https://forum.canton.network/u/quidagis)\
**Replies:** 2\
**Last updated:** [August 2, 2021, 6:56pm UTC](https://forum.canton.network/t/daml-repl-non-functional-on-64-bit-linux/2907 "2021-08-02T18:56:02Z")

</div>

Goal I am aiming to get Daml ver 1.15.0 working on an old Toshiba Satellite laptop running Dietpi v7.4.2 just to see the impact, if any, of low-spec 64-Bit hardware. Guide Using my Daml-on-Debian tutorial. This hardware…

---

## [Slow REPL Start Time](https://forum.canton.network/t/slow-repl-start-time/2497)

<div class="topic-metadata">

**Author:** [@quidagis](https://forum.canton.network/u/quidagis)\
**Replies:** 3\
**Last updated:** [April 21, 2021, 11:24am UTC](https://forum.canton.network/t/slow-repl-start-time/2497 "2021-04-21T11:24:45Z")

</div>

I have been lurking in the REPL, using Scripts and the start time for my REPL, executed using daml repl is anywhere between a slow count of 10-20 everytime. Even after not running any Daml code for a while, and/or a rebo…

---

## [Daml Options Syntax in the REPL](https://forum.canton.network/t/daml-options-syntax-in-the-repl/2443)

<div class="topic-metadata">

**Author:** [@quidagis](https://forum.canton.network/u/quidagis)\
**Replies:** 2\
**Last updated:** [April 13, 2021, 6:24am UTC](https://forum.canton.network/t/daml-options-syntax-in-the-repl/2443 "2021-04-13T06:24:54Z")

</div>

Just lurking in the REPL and it occurred to ask, about the rationale behind writing the ‘daml’ options as: daml option not daml --option, except for daml --help ? Java does java --option \[arg\] Node does node -/--opti…

---

## [How does the REPL handle floats, and how can you perform Mathematical functions on them?](https://forum.canton.network/t/how-does-the-repl-handle-floats-and-how-can-you-perform-mathematical-functions-on-them/2237)

<div class="topic-metadata">

**Author:** [@quidagis](https://forum.canton.network/u/quidagis)\
**Replies:** 7\
**Last updated:** [March 15, 2021, 9:54am UTC](https://forum.canton.network/t/how-does-the-repl-handle-floats-and-how-can-you-perform-mathematical-functions-on-them/2237 "2021-03-15T09:54:01Z")

</div>

Thanks for that write-up, I like experimenting with REPLs, all types. It took me a bit to discover some helpful features, and I was able to write some simple Physics formulae using fake information. However I note th…

---

## [An endless list makes the REPL work for a long time and this is intentional (updated title)](https://forum.canton.network/t/an-endless-list-makes-the-repl-work-for-a-long-time-and-this-is-intentional-updated-title/2116)

<div class="topic-metadata">

**Author:** [@gyorgybalazsi](https://forum.canton.network/u/gyorgybalazsi)\
**Replies:** 11\
**Last updated:** [February 19, 2021, 2:15pm UTC](https://forum.canton.network/t/an-endless-list-makes-the-repl-work-for-a-long-time-and-this-is-intentional-updated-title/2116 "2021-02-19T14:15:04Z")

</div>

In Haskell, because of lazy evaluation, this is a legitimate expression: Daml doesn’t have lazy evaluation, as I was told recently. The same expression sends the REPL into an infinite loop: Is that intentional? (My…

---

## [Repl/navigator parties](https://forum.canton.network/t/repl-navigator-parties/1750)

<div class="topic-metadata">

**Author:** [@Luciano](https://forum.canton.network/u/Luciano)\
**Replies:** 2\
**Last updated:** [December 7, 2020, 3:57pm UTC](https://forum.canton.network/t/repl-navigator-parties/1750 "2020-12-07T15:57:08Z")

</div>

I’m testing out daml repl for the first time. I can get some examples to work. For instance, I can create contracts with submit buyer $ createCmd ..., and then visualize these in the ACS using query, like the example i…

---

## [Can the DAML REPL use pure functions or does it only submit commands to a ledger?](https://forum.canton.network/t/can-the-daml-repl-use-pure-functions-or-does-it-only-submit-commands-to-a-ledger/866)

<div class="topic-metadata">

**Author:** [@anthony](https://forum.canton.network/u/anthony)\
**Replies:** 14\
**Last updated:** [July 21, 2020, 12:34am UTC](https://forum.canton.network/t/can-the-daml-repl-use-pure-functions-or-does-it-only-submit-commands-to-a-ledger/866 "2020-07-21T00:34:32Z")

</div>

It seems like the DAML REPL needs to connect to a ledger. Is there any way to use it with just pure functions for when you want to test out some functionality but not necessarily record a transaction on a ledger?
