# LibTmux.Id.parseWindowId

- **Package:** libtmux-haskell
- **Language:** Haskell
- **Kind:** function
- **Source:** https://github.com/libtmux/libtmux-haskell/blob/581f0ee45016ffb2283366bb1edc1658df26c5ed/src/LibTmux/Id.hs#L75
- **Page:** https://libtmux.org/en/haskell/latest/reference/libtmux-id-v-parsewindowid/

```haskell
parseWindowId :: Text -> Either IdError WindowId
```

Signature types: [`Text`](https://hackage.haskell.org/package/text-2.1.3/docs/Data-Text.html#t:Text), [`Either`](https://hackage.haskell.org/package/base-4.22.0.0/docs/Data-Either.html#t:Either), [`IdError`](/en/haskell/latest/reference/libtmux-id-t-iderror/), [`WindowId`](/en/haskell/latest/reference/libtmux-id-t-windowid/).

Parse a canonical `@number` identifying a physical window.

## Referenced declarations

- [`LibTmux.Id.IdError`](/en/haskell/latest/reference/libtmux-id-t-iderror/) (data type)
- [`LibTmux.Id.WindowId`](/en/haskell/latest/reference/libtmux-id-t-windowid/) (data type)
