Skip Menu |

This queue is for tickets about the Type-Tiny CPAN distribution.

Report information
The Basics
Id: 89073
Status: rejected
Priority: 0/
Queue: Type-Tiny

People
Owner: Nobody in particular
Requestors: xenoterracide [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Fwd: Union?
Date: Mon, 30 Sep 2013 11:42:24 -0500
To: bugs-type-tiny [...] rt.cpan.org
From: Caleb Cushing <xenoterracide [...] gmail.com>
Can't seem to find the docs that show how I'd do Dict[Key => HashRef|Str] # Key can be hashref or str I actually suspect the above is exactly what I'd do... just can't find a reference. Checked Types::Standard and Type::Tiny::Union -- Caleb Cushing http://xenoterracide.com Calendar: https://www.google.com/calendar/embed?src=xenoterracide%40gmail.com&ctz=America/Chicago -- Caleb Cushing http://xenoterracide.com Calendar: https://www.google.com/calendar/embed?src=xenoterracide%40gmail.com&ctz=America/Chicago
On 2013-09-30T17:42:42+01:00, XENO wrote: Show quoted text
> Can't seem to find the docs that show how I'd do
Dict[Key => HashRef|Str] should work. The "|" overload is documented at https://metacpan.org/module/Type::Tiny#Overloading
Can't see any actual issue here, so closing this.
Subject: Re: [rt.cpan.org #89073] Fwd: Union?
Date: Fri, 11 Oct 2013 17:36:47 -0500
To: bug-Type-Tiny [...] rt.cpan.org
From: Caleb Cushing <xenoterracide [...] gmail.com>
the only issue was with difficulty finding it, I'd expect it to be at least documented in the union object documentation. Since it's the preferred way of using/creating that. On Thu, Oct 10, 2013 at 5:27 PM, Toby Inkster via RT <bug-Type-Tiny@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=89073 > > > Can't see any actual issue here, so closing this.
-- Caleb Cushing http://xenoterracide.com Calendar: https://www.google.com/calendar/embed?src=xenoterracide%40gmail.com&ctz=America/Chicago