All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.gchudnov.swearwolf.zio.shapes.instances.ZioGrid.scala Maven / Gradle / Ivy

package com.github.gchudnov.swearwolf.zio.shapes.instances

import com.github.gchudnov.swearwolf.shapes.grid.Grid
import com.github.gchudnov.swearwolf.shapes.instances.{ AnyBox, AnyGrid }
import com.github.gchudnov.swearwolf.util.spans.Span
import com.github.gchudnov.swearwolf.zio.util.func.RIOMonadAsyncError
import com.github.gchudnov.swearwolf.util.func.MonadError
import zio.Task

private[instances] trait ZioGrid extends AnyGrid[Task]:

  extension (gridT: Grid.type)
    def buildZIO(grid: Grid): Task[Seq[Span]] =
      Grid.build[Task](grid)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy