#solomon4104 I was about to reply to your

1 messages · Page 1 of 1 (latest)

loud frost
#

🧵

#

I understood that DirectoryWithNewFile could be replaced by directory.WithNewFile to avoid conflict with eg. FooWithNewFile, but is there actually a FooWithNewFile ?

viscid stream
#

Oh, I meant this:

From:

dir.WithNewFile("/foo", dagger.WithDirectoryWithNewFileContents("blah"))

To:

dir.WithNewFile("/foo", directory.WithNewFileContents("blah"))

the diff is it s/Directory// in the function name (Directory is now in the package name)

viscid stream
#

Tried a few hairy go generics options with @fresh garnet

His statement sums up the situation really well:

"We can now have disjunction errors in Go directly. No need for CUE anymore"

viscid stream
#

Bleh. I give up

#

For option 1, that's as good as it gets