Moosems

Results 460 comments of Moosems

Take a look at chlorophyll's MLCDS tag idea.

Could you use triple backsticks for pasting code? Here's an example: ```mojo fn main(): print("Hello, world!") ``` How to do it? \```mojo fn main(): print("Hello, world!") \``` Why does mine...

First thing: you might consider changing `init` to `__init__` Second: The is_mutable parameter needs to be changed in the parameter brackets. I would also highly recommend trying a different method...

Here are all the examples I could find on its actual usage and tried my best to jerry rig the above code I gave based on them but again, I...

```mojo @value struct example[list_lifetime: ImmLifetime]: # Must stay in parameter var src: Reference[String, __mlir_attr.`0: i1`, list_lifetime] fn main(): ... ```

It doesn't look like it's possible to make an init without `@value` or I just can't find any examples of it and the mods on the Discord channel say it...

You can assign me this :D

Looking into this a little more I'm not sure this is a great idea... ``` ``pygments_style``: :class:`str` Name of the current Pygments style used for syntax highlighting. Use this option...

Ok, I'll do this with the settings dialog soon then