Zulip Chat Archive

Stream: new members

Topic: Concatenated string


Martin Dvořák (Jan 31 2022 at 15:54):

How can I go from "abc" ++ w = "abcde" to w = "de" please? And other trivial statements about concatenated strings, is there a tactic for it?

Yaël Dillies (Jan 31 2022 at 15:56):

docs#list.append_left_cancel I suspect

Yaël Dillies (Jan 31 2022 at 15:56):

You might need to turn "abcde" into "abc" ++ "de" first.

Martin Dvořák (Jan 31 2022 at 16:13):

How can I "lift" the lemmata for list char into being for string please? I suppose I could write .data after all input parameters, but that neither solves my whole issue nor is it nice.

Yaël Dillies (Jan 31 2022 at 16:19):

I assume docs#list.as_string and docs#list.to_string


Last updated: Dec 20 2023 at 11:08 UTC